Usage
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
Markup | Renders As |
---|---|
{{Color palette|color=red|imagesize=100px}}
renders as: |
|
{{Color palette|color=blue}}
renders as: |
Error message
When you add any color that is not available, it will show the following:
{{Color palette|color=blue}} → File:Solid error.svg
Supported colors
This template uses File: to request images with the name "File:Solid color name.svg". Options are listed at commons:Category:SVG_solid_squares.