Template:Color/doc

From Hercules Wiki
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}}