Template:Cc/doc

This template produces the hexadecimal color definitions for
 * Asphalt-specific colors reproduced in this Wiki (like  for rare items:0:0)
 * colors specific to (like   for )

Its aim is to provide "telling names" for frequently used colors so that editors don't have to look up hexadecimal codes every time they want to give a specific color to text or other article elements.

Examples

 * &rarr;
 * &rarr; 00f000
 * &rarr;

color code can be used at any place where a hexadecimal color definition is needed:


 * &rarr; Text

Please note that color code
 * does not render text in the specified color. It only translates a color name into the corresponding hexadecimal code.
 * does not translate any web colors like "red" or "green". It is solely made for colors specific to this wiki and the Asphalt games.

See color if you want to render text in a certain color.

Edits in this template
Color code can easily be expanded for new color names by copying and inserting the following line below the  comment in the template:

| newcolor = &amp;#35;00ff00


 * Name of the new color in lower case. Any upper case combinations will be detected automatically.
 * RGB color hex code of the new color, where  replaces the   sign.

New first-level text color template
If you have added a new text color, you can make it easier for others to use the new color by creating a new first-level template named "A8Newcolor". Copy the following line into a new template:

Parameters:

Documentation

 * When you add a new color, remember to add it to the asphalt colors overview.
 * When you add a new first-level color template, remember to add it to the Text color templates see also overview.