Template:Pokecolor/doc

Usage
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. The input colors correspond to Pokémon types. Capitalization of the input parameter is ignored.

Many of these colors are difficult to read text on top of, and should not be used as background colors for text elements as a result.

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. 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 bug, dark, dragon, electric, fairy, fighting, fire, flying, ghost, grass, ground, ice, normal, poison, psychic, rock, steel, or water", "type": "string", "required": false }       } } 