Template:C

Description
This template takes an input name and outputs the hex value, without the hash symbol, of either the input's normal or light corresponding colour, whichever is requested.

Usage
For the normal (dark) colour, just state the object. For the light colour, you'll need to add a second variable. Strictly speaking, it can be any value but for consistency, leave it as 'light':