Jump to content

Help:Using colours

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by AzaToth (talk | contribs) at 23:06, 21 September 2006 (allowed colors). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Colours are most commonly found in Wikipedia articles within templates and tables.

If you are looking for a colour, see:

To use a colour in a template or table you can use the hex triplet. Example: bronze is #CD7F32.

Alternatively, some common colours can be referred to by name (HTML 4 colours). Orange is also included. Example: green.

Wikimedia colour schemes

Wikipedia

Wikipedia uses this colour scheme on its Main Page.

Please note that the colour for the border on the larger boxes is also the colour of the backgrounds of the smaller (title) boxes.
background:#f5fffa border:#cef2e0   background:#cef2e0 border:#a3bfb1  
background:#f5faff border:#cedff2   background:#cedff2 border:#a3b0bf  
background:#faf5ff border:#ddcef2   background:#ddcef2 border:#afa3bf  
background:#fcfcfc border:#cccccc  


And additionally on the Community Portal:

background:#fffcf5 border:#f2e6ce   background:#f2e6ce border:#d9ceb8  


Additional 3-colour palettes using this same generation scheme are at the top of the talk page.

Commons

Commons uses this colour scheme on commons:Help:Contents.

background colour: #d0e5f5

background colour: #f1f5fc

border colour: #abd5f5
background colour: #faecc8

background colour: #faf6ed

border colour: #fad67d

Colors that may be used

When making a template, and it's logical to specify a background color, you must limit your self to some optimal colors, that fit on wikipedia. Those are:

aliceblue
antiquewhite
azure
beige
bisque
blanchedalmond
burlwood
cornsilk
floralwhite
gainsboro
goldenrod
honeydew
ivory
khaki
lavender
lavenderblush
lemonchiffon
lightblue
lightcoral
lightcyan
lightgoldenrodyellow
lightgrey
lightgreen
lightpink
lightsalmon
lightsteelblue
lightyellow
linen
mistyrose
moccasin
navajowhite
oldlace
palegoldenrod
palegreen
paleturquoise
palevioletred
papayawhip
peachpuff
powderblue
silver
tan
thistle
wheat
whitesmoke

Examples

See also