Template:OSM Location map/color/doc

Usage
This template provides a standardised colour/Color pallete for use with OSM Location Maps. The following color descriptors (not following any particular external precedent) can be used within OSM maps to provide a consistent and sympathetic color scheme for text labels and shape colors, using pastel shades that fit well alongside the existing map colors:-

Usage by directly calling the template (normally not needed except by another template) requires a single unnamed parameter, which should a colour from the list below, eg which will generate the appropriate hex value. It will return unchanged any other text, such as a standard html colour description or hex code.

Usage of the color scheme when devising OSM Location maps
The descriptions can be used within the OSM Location map template wherever a color can be specified (The template itself is not needed). For example:


 * label-color1 = soft grey
 * shape-color1 = hard red
 * label-color8 = black

Map label colors often need to be adapted to meet the needs of the individual map, but by sticking to the 'soft' colors for most map labels the muted map appearance is retained. The 'hard' colors should only used to indicate the feature that is the particular subject of the map. (The 'dark' option is for where the background requires a shift to the stronger colors).

Under normal usage, the following label color scheme should be followed:-

Full table of options
It is also possible to specify any HTML Hex color using the six-figure hex-code, eg #AAAAAA, but sticking to defaults maintains consistency between pages

If no color is specified the text will have a default of 'hard red'

Colors other than the named ones above can only be specified by using hex codes. Any other color names return as 'hard red' #