To use a colour in a template or table you can use the hex triplet (e.g. bronze is #CD7F32) or HTML colour names (e.g. red).
Video Help:Using colours
Overriding font colour
To make a word have colour, use: <span style="color:hex triplet or colour name">text</span>
Note that you can't use the British spelling, "colour", in this context.
Examples:
<span style="color:red">red writing</span>
shows as red writing<span style="color:#0f0">green writing</span>
shows as green writing<span style="color:#0000FF">blue writing</span>
shows as blue writing
Template font colour
Template:Font color, or its redirect Template:Font colour, can also be used.
{{Font colour|fontcolour|backgroundcolour|Your text here}}
Maps Help:Using colours
Colour generation guide
- The method used for selecting the colours for various top-level pages, e.g. Main Page, Community Portal, Contents, and Help:Contents.
The 3 colours are generated using the HSV colour space, then translated into RGB.
- Easily generate similar palettes, from different starting hues, using colorblender.com
Wikimedia colour schemes
Wikipedia
Wikipedia uses this colour scheme on its Main Page.
- Note: the colour for the border on the lighter boxes is also the colour of the backgrounds of the darker (title) boxes.
And additionally on the Community Portal:
Additional 3-colour palettes using this same generation scheme are at the top of the talk page. In the Monobook skin, the background colour of Wikipedia pages is #F8FCFF. In the Vector skin, the background colour on all pages is #FFFFFF.
Commons
The Wikimedia Commons uses this colour scheme on commons:Main Page and commons:Help:Contents. Differing from the English Wikipedia, Commons does not use an extra, darker colour for bordering the header. Also, the colour sets are not derived from a hue the way the above table does.
See also
- Templates
- To colour text and background:
- Template:Font color
- To provide example squares of colour:
- Template:Colorsample
- Template:Swatch
- Template:Swatch-inline
- Related help pages
- Wikipedia:Accessibility § Color
- Category:Articles with images not understandable by color blind users
- Wikipedia:Link color
- Wikipedia:How to reduce colors for saving a JPEG as PNG
- Wikipedia:Infobox colours - inactive
- Wikipedia:WikiProject Usability/Color - inactive
- Somewhat related pages
- Wikipedia:Manual of Style (text formatting)#Color
- Wikipedia:Template standardisation
- Wikipedia:WikiProject Color
- Encyclopedia articles
- Color tool
- Web colors
- List of colors
Source of the article : Wikipedia