Template:Color palette/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Usage

{{Color palette|color=typeofcolor}}


Full syntax

{{Color palette |color=typeofcolor |imagesize=}}

Note

This template does not support hex values (e.g.: #ABC123) for Web colors.

Examples

[edit source]
Markup Renders As
{{Color palette|color=red|imagesize=100px}}

renders as:

{{Color palette|color=blue}}

renders as:

Error message

[edit source]

When you add any color that is not available, it will show the following: {{Color palette|color=blue}} → File:Solid error.svg

Supported colors

[edit source]

This template uses File: to request images with the name "File:Solid color name.svg". Options are listed at commons:Category:SVG_solid_squares.