![]() |
|||||||||||||
|
Wikipedia:COLOR |
| This guideline is a part of the English Wikipedia's Manual of Style. Editors should follow it, except where common sense and the occasional exception will improve an article. Before editing this page, please make sure that your revision reflects consensus. |
| This page in a nutshell: Be careful when adding colours to articles. |
Colours are most commonly found in Wikipedia articles within templates and tables.
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).
Contents |
See also: Category:Articles with images not understandable by color blind users
The following guidance aims to improve accessibility in articles (see Wikipedia:Accessibility) as well as ensure that articles look as good as possible:
To make a word have colour, use: <span style="color:hex triplet or colour name">text</span>
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:#0000f1">blue writing</span> shows as blue writingWikipedia uses this colour scheme on its Main Page.
| 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 and Wikisource Main Page:
| background:#fffaf5 border:#f2e0ce | background:#f2e0ce border:#bfb1a3 |
Additional 3-colour palettes using this same generation scheme are at the top of the talk page. The background colour of Wikipedia pages is #F8FCFF.
The Wikimedia Commons uses this colour scheme on commons:Main Page and commons:Help:Contents.
|
background colour: #d0e5f5
background colour: #f1f5fc |
background colour: #faecc8
background colour: #faf6ed |