Template:Class/colour/doc

This template uses a single unnamed parameter to output the colour used by each class type as a six digit hex code prefixed with a # symbol.

Accessibility
To accommodate readers of Wikipedia who are partially or fully color-blind or visually impaired, the contrast of the text with its background colour should reach at least Web Content Accessibility Guidelines (WCAG) 2.0's AA level; see MOS:CONTRAST for further details. Class colours are typically used with blue linked text which uses colour #0645AD. You can check contrast levels with the following online tool: WebAIM Contrast Checker

Template data
 {       "description": "This template uses a single unnamed parameter to output the colour used by each class type as a six digit hex code prefixed with a # symbol", "params": { "1": {                       "label": "Class type", "description": "One of FA, FL, FM, A, GA, B, C, Start, Stub, List, NA, Category, Current, Disambig, Audio, File, Future, Merge, Needed, Portal, Project, Redirect, Template, Book, Deferred, SL, Unassessed, or User", "type": "string", "required": false }       } } 