Template:TypeColor

From Dream Chasers
Jump to navigation Jump to search

Retrieves the hexcode associated with a given Pokémon type.


Usage:

{{TypeColor|<type>|[option]}}


Parameters
<type> One of the recognized Pokémon types, as listed below.
[option] (Optional) A modifier to the specified color.

Currently recognized options are:

  • dark: returns a darker version of the color.
  • light: returns a lighter version of the color.


Examples:


Normal color variant:

{{TypeColor|Fire}}

F08030


Dark color variant:

{{TypeColor|Fire|dark}}

9C531F


Light color variant:

{{TypeColor|Fire|light}}

F5AC78


Colors
Type Color Dark Light
Normal   A8A878   6D6D4E   C6C6A7
Fire   F08030   9C531F   F5AC78
Water   6890F0   445E9C   9DB7F5
Electric   F8D030   A1871F   FAE078
Grass   78C850   4E8234   A7DB8D
Ice   98D8D8   638D8D   BCE6E6
Fighting   C03028   7D1F1A   D67873
Poison   A040A0   682A68   C183C1
Ground   E0C068   927D44   EBD69D
Flying   A890F0   6D5E9C   C6B7F5
Pyschic   F85888   A13959   FA92B2
Bug   A8B820   6D7815   C6D16E
Rock   B8A038   786824   D1C17D
Ghost   705898   493963   A292BC
Dragon   7038F8   4924A1   A27DFA
Dark   705848   49392F   A29288
Steel   B8B8D0   787887   D1D1E0
Fairy   EE99AC   9B6470   F4BDC9
Unknown   68A090   44685E   9DC1B7


Note: Colors taken from Bulbapedia's type color templates and used under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 license.