Template:C
{{{2}}}
Purpose
This template colors text, given either predefined color names or hex values.
Parameters
{{C|<color>|<text>}}
color
: One ofvcyan,vgrey,vblue,vred,vpurple
, selects the color from the palette demonstrated in the examples below. Alternatively, pass a RGB color given in hex, e.g.#A8762C
.text
: The text to be colored.
Examples
{{C|vcyan|Text colored in "vcyan".}} {{C|vgrey|Text colored in "vgrey".}} {{C|vblue|Text colored in "vblue".}} {{C|vred|Text colored in "vred".}} {{C|vpurple|Text colored in "vpurple".}} {{C|#A8762C|Text colored in "#A8762C".}}
will produce
Text colored in "vcyan".
Text colored in "vgrey".
Text colored in "vblue".
Text colored in "vred".
Text colored in "vpurple".
Text colored in "#A8762C".