"WP:COLOURS" redirects here. For MOS guidelines on colour use in articles, seeMOS:COLOR.
This page is about the use of colours in articles. For the civility essay dealing with colours, seeWikipedia:Don't edit war over the colour of templates. For guidelines on colour use, seeMOS:COLOUR. For the help page about link colour, seeH:LC. For the help page about user contributions, seeWP:UCP.
Links should be clearly recognizable as clickable to readers. Avoid usingcolored links as it may hinder the reader's ability to distinguish links from regular text, particularly coloring links solely for aesthetic purposes. See theManual of Style accessibility guideline sections onContrast andColor.
Note: the colour for the border of the lighter boxes is also the colour of the backgrounds of the darker (title) boxes.
Hue
Light Box background / border
Title background / border
150°
#F5FFFA /#CEF2E0
#CEF2E0 /#A3BFB1
210°
#F5FAFF /#CEDFF2
#CEDFF2 /#A3B0BF
270°
#FAF5FF /#DDCEF2
#DDCEF2 /#AFA3BF
330°
#FFF5FA /#F2CEDD
#F2CEDD /#BFA3AF
30°
#FFFAF5 /#F2E0CE
#F2E0CE /#BFB1A3
Additional 3-colour palettes using this same generation scheme are at the top of thetalk page. In theMonobook skin, the background colour of Wikipedia pages is#F8FCFF. In theVector 2022 skin, the background colour on all pages in light mode is#FFFFFF.
The Wikimedia Commons uses this colour scheme oncommons:Main Page andcommons: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.
The Wikimedia Foundation Design team hasprovided a colour palette with colours being marked toward level AA conformance. It is used for all user-interface elements across products and in the main Wikimedia themes, desktop and mobile. However, it does not consider linked text.
It is best to choose background colours that offer sufficient contrast in relation to text andblue links, which is also the colour of references, both of which are very common in most articles. Use theWCAG link contrast checker to ensure that the chosen background colour offers the recommended WCAG AA level of contrast against normal text (#202122) and blue links (#3366CC for the defaultVector 2022 skin).[1]
Compatible WCAG AAA background colours against text and links
Approximately 1 in 12 men and 1 in 200 women with Northern European ancestry havered-green colour blindness; this and other types affect people worldwide.[2] This table shows "safe" groups of colours which are distinguishable to most colour-blind people, although colour should never be used as the sole method to convey information.
Pick a maximum of one colour from each column. Do not use more than one colour from any one column.
Use large expanses of the colour. If you're colouring text, use bold and a large font.
For small expanses of colour, such as thin lines, clearly label them with text, or use non-colour techniques such as font styles (bold or italic), line styles (dots and dashes) or cross-hatching (stripes,checkers orpolka-dots).
Use bright mid-range colours, like children's crayons. Do not use light or dark variants of the colours.
If you need more colours... hard luck. Instead use non-colour techniques such as labelling, font styles (bold or italic), line styles (dots and dashes) or cross-hatching (stripes, checkers or polka-dots).
If you are colour-blind yourself, check your revised image with a colour-sighted person to confirm the meaning is intact.
The following utilities may be of use in determining whether a revised image is distinguishable to colour-blind users. Typically they take a web page or image file as an input, and render a colour-blind simulated image as output:
The standard rainbow should not be used to represent continuous data, because it creates artificial thresholds; humans do not see the spectrum as a smooth ramp. Greyscales, or a perceptually-even colour ramps, or a colour map chosen to deliberately highlight certain features, are preferable. Diverging colour ramps (two colour extremes around a white or black neutral value) tend to hide some high-frequency features.
Colours have cultural connotations; pick ones that match your data. That is, a diverging colour ramp with extremes "hot,cold" will be easier to understand than the reverse (hot,cold).
Color contrast analyser (downloadable software for precise contrast checks; be sure to only use the up-to-date "luminosity" algorithm, and not the "color brightness/difference", which is outdated.).
Paletton (formerly Color Scheme Designer) helps select suitable colour schemes for a graphical chart.
Color Brewer 2.0 provides colour-blind-friendly colour schemes for maps.
Light qualitative color scheme provides a set of nine colours that work well for colour-blind users and black text labels.
The Wikimedia Foundation Design teamhas provided a color palette for AA-level contrast compliance. It is used for all user-interface elements across products and in the main Wikimedia themes, desktop and mobile. However, it does not consider linked text colour.