GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing en.wikipedia.org — Help:Using colours - Wikipedia (Redirected from Help:Using colors) "WP:COLOURS" redirects here. For MOS guidelines on colour use in articles, see MOS:COLOR.
This page is about the use of colours in articles. For the civility essay dealing with colours, see Wikipedia:Don't edit war over the colour of templates. For guidelines on colour use, see MOS:COLOUR. For the help page about link colour, see H:LC. For the help page about user contributions, see WP:UCP.
To use a colour in a template or table you can use the hex triplet (e.g. #CD7F32 is bronze) or HTML colour name (e.g. red). Editors are encouraged to make use of tools, such as Color Brewer 2 to create Brewer palettes, listed at Wikipedia:Manual of Style/Accessibility § Color for colour scheme selection used in graphical charts, maps, tables, and webpages with accessibility in mind for colour-blind and visually impaired users. For colour tables and a colour pallette, see Wikipedia:Manual of Style/Accessibility/Colors. For the WikiProject, see Wikipedia:WikiProject Color. Overriding font colourTo apply colour to text, use:
Note that you cannot use Commonwealth spellings like "colour" in HTML tags used in wikitext. Examples:
Template font colour{{Font color}}, or its redirect {{Font colour}}, can also be used.
Colour generation guideFor a list of tools for colour scheme selection and creation, see § Additional tools for color scheme selection.
The 3 colours are generated using the HSV colour space, then translated into RGB. This method is used for selecting the colours used in various top-level pages, such as the Main Page, Village Pumps, Community Portal, Contents, and Help:Contents.
Wikimedia colour schemesWikipediaSee also: Wikipedia:Skin
Wikipedia uses this colour scheme on its Main Page and, for the final row, on the Community Portal. Note: the colour for the border of the lighter boxes is also the colour of the backgrounds of the darker (title) boxes.
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 2022 skin, the background colour on all pages in light mode is #FFFFFF. CommonsThe 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.
Wikimedia FoundationThe Wikimedia Foundation Design team has provided 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. AccessibilityIt is best to choose background colours that offer sufficient contrast in relation to text and blue links, which is also the colour of references, both of which are very common in most articles. Use the WCAG 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 default Vector 2022 skin).[1]
Schemes for colour-blind readersApproximately 1 in 12 men and 1 in 200 women with Northern European ancestry have red-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. See also Commons:Commons:Creating accessible illustrations for colour-blind friendly palettes.
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:
Colour rampsThe 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).
Tools for checking contrastFurther information: Wikipedia:Tools
You can use an online tool or software to check the colour contrast ratio: Before using a tool, check if it supports WCAG 2.0, as older tools based on WCAG 1.0 are outdated. We have templates that check the colour contrast ratio too:
Additional tools for colour scheme selection
Colour palettesThe Wikimedia Foundation Design team has 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. For AAA-compliant colour pairings for different text types (black text, white text, links, and visited links), refer to the table at Wikipedia:Manual of Style/Accessibility/Colors. For named CSS-based text colours on a white background, refer to Wikipedia:Manual of Style/Accessibility/CSS colors for recommended colours See alsoTemplates
Related help pagesSomewhat related pagesEncyclopaedia articlesLists of colours
Guide to coloursReferences
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||