Template:Color

From Firrhna Project Wiki
Jump to navigationJump to search

Input:

{{Color
 | Red
 | #f00
}}

Result:   Red

Shows a color with a little swatch next to it.

Template parameters

ParameterDescriptionTypeStatus
Color name1 colorName

Written name of the color

Example
Magenta
Stringrequired
CSS2 colorSwatch

The color as a CSS value

Example
#FF00FF
Stringrequired