Usage edit

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.

Options
Syntax Output Colour
{{Pokecolor|bug}} #A8B820
{{Pokecolor|dark}} #5C483B
{{Pokecolor|dragon}} #700AEE
{{Pokecolor|electric}} #F8D030
{{Pokecolor|fairy}} #EE99AC
{{Pokecolor|fighting}} #94352D
{{Pokecolor|fire}} #F08030
{{Pokecolor|flying}} #A890F0
{{Pokecolor|ghost}} #614C83
{{Pokecolor|grass}} #2DCD45
{{Pokecolor|ground}} #E0C068
{{Pokecolor|ice}} #98D8D8
{{Pokecolor|normal}} #A8A878
{{Pokecolor|poison}} #883688
{{Pokecolor|psychic}} #FF6996
{{Pokecolor|rock}} #B8A038
{{Pokecolor|steel}} #B8B8D0
{{Pokecolor|water}} #149EFF

Accessibility edit

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 edit

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Pokecolor in articles based on its TemplateData.

TemplateData for Pokecolor

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

Template parameters

ParameterDescriptionTypeStatus
Class type1

One of bug, dark, dragon, electric, fairy, fighting, fire, flying, ghost, grass, ground, ice, normal, poison, psychic, rock, steel, or water

Stringoptional