Jump to content

Template:Color palette/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
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]
Markup Renders As
{{Color palette|color=red|imagesize=100px}}

renders as:

{{Color palette|color=blue}}

renders as:

Error message

[edit]

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]

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