Template:ColorSample

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:ColorSample/doc.

No description yet available.

Usage

{{ColorSample |1= }}

Template parameters

ParameterDescriptionDefaultStatus
1emptyoptional

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified

Usage

This template creates a box filled with a color of choice, optionally followed by a label. It may prove useful when listing colors used in a hand-made computer drawing, saving readers/users from having to use a color picker-like tool in their favorite picture editor.

Examples

Template:ColorSample parameters
This code... Yields...
{{ColorSample|purple|This is the purplest purple ever}}  This is the purplest purple ever: purple
{{ColorSample|purple}}
{{ColorSample|#E00|Warnings are usually colored like this}}  Warnings are usually colored like this: #E00
{{ColorSample|#000}}{{ColorSample|#006}}{{ColorSample|#039}}{{ColorSample|#36C}}{{ColorSample|#69F}}{{ColorSample|#9CF}}{{ColorSample|#CEF}}{{ColorSample|#DFF}}{{ColorSample|#FFF}}{{ColorSample|transparent}}