Template:Color/doc

From Hercules Wiki
Revision as of 03:41, 13 January 2013 by Mysterious (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This templates allows to express colors using colored HTML color codes (#RRGGBB).

Usage

Use the following to display a red colored #FF0000:

{{color|ff0000}}

If the color is bright (such as yellow) and would be unreadable, use the optional parameter to specify an alternative color, or "inherit" to use the current text color:

{{color|ffff00|color=inherit}}