Module:ConvCSS/doc
CodeDiscussionEditHistoryLinksLink count Subpages:DocumentationTestsResultsSandboxLive code All modules
This is the documentation page for Module:ConvCSS
This module converts a CSS color name to its hexadecimal color code. The 148 CSS names are case-insensitive.
All the seven occurrencies of "grey" are doubled with the other spelling "gray".
It is used e.g. by the module Color2dec; because Color2dec
first checks color names for tinctures,
and afterwards for CSS names,
the occurrence of "Azure" for complete different colors in both sets needs precaution:
to avoid that "Azure" is found in tinctures,
when the CSS color is required, the name "Azure_CSS" can be used to ensure that the lighter CSS color will be returned.
A similar differentiation is done for "Orange" which became now also a tincture ("n" for "naranja").