| This is a documentation subpage for Template:Color palette. It may contain usage information, categories and other content that is not part of the original template page. |
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
editWhen you add any color that is not available, it will show the following:
{{Color palette|color=blue}} → File:Solid error.svg
Supported colors
editThis template uses File: to request images with the name "File:Solid color name.svg". Options are listed at commons:Category:SVG_solid_squares.