Template:Colors/doc


 * Description
 * Sets background and text colors of a given text. They can be specified by any valid CSS color specification like name, in the format  (RGB hex triplet, where   is  ) or simplified , or   /  , or   /.


 * Syntax


 * Code


 * Standard color names
 * The HTML 4.01 specification (see web colors on Wikipedia) defines sixteen named colors, as follows:
 * {| border="0"

!Color !Hexadecimal !Color !Hexadecimal
 * black
 * style="background:#000000; color:#ffffff; font-family:monospace;"|#000000
 * silver
 * style="background:#c0c0c0; color:#000000; font-family:monospace;"|#c0c0c0
 * gray
 * style="background:#808080; color:#ffffff; font-family:monospace;"|#808080
 * white
 * style="background:#ffffff; color:#000000; font-family:monospace;"|#ffffff
 * maroon
 * style="background:#800000; color:#ffffff; font-family:monospace;"|#800000
 * red
 * style="background:#ff0000; color:#000000; font-family:monospace;"|#ff0000
 * purple
 * style="background:#800080; color:#ffffff; font-family:monospace;"|#800080
 * fuchsia
 * style="background:#ff00ff; color:#000000; font-family:monospace;"|#ff00ff
 * green
 * style="background:#008000; color:#ffffff; font-family:monospace;"|#008000
 * lime
 * style="background:#00ff00; color:#000000; font-family:monospace;"|#00ff00
 * olive
 * style="background:#808000; color:#ffffff; font-family:monospace;"|#808000
 * yellow
 * style="background:#ffff00; color:#000000; font-family:monospace;"|#ffff00
 * navy
 * style="background:#000080; color:#ffffff; font-family:monospace;"|#000080
 * blue
 * style="background:#0000ff; color:#000000; font-family:monospace;"|#0000ff
 * teal
 * style="background:#008080; color:#ffffff; font-family:monospace;"|#008080
 * aqua
 * style="background:#00ffff; color:#000000; font-family:monospace;"|#00ffff
 * }
 * blue
 * style="background:#0000ff; color:#000000; font-family:monospace;"|#0000ff
 * teal
 * style="background:#008080; color:#ffffff; font-family:monospace;"|#008080
 * aqua
 * style="background:#00ffff; color:#000000; font-family:monospace;"|#00ffff
 * }
 * }


 * Notes
 * Unless in the case of personal use on a user page, use this template with great caution:
 * a poor contrast may make the text difficult or impossible to read
 * the contrast can be experienced as even poorer in the case of color blindness
 * links have a color according to user settings; they become invisible if this color is equal to the background color.


 * Sample output
 * gives...
 * gives...
 * gives...
 * gives...
 * gives...
 * gives...
 * gives...
 * gives...
 * gives...
 * gives...
 * gives...
 * gives...
 * gives...


 * See also
 * Fontcolor – change text and background colors like this template
 * TextColor – change text color
 * Web colors
 * Non-dithering safe colors