Navigation menu

Template:Color

From Metroid Wiki
Revision as of 04:23, 12 July 2010 by Malake256 (talk | contribs)

Purpose

This template is an easy way to apply colors to text.

Usage

To use this template, type: {{Color|Colorname/number|text}}

Where:

  • Color is the color you want the text to be.
  • Text is the desired text to color.

For colors, there are two methods. One way is with names.
For example, {{Color|Red|Text}} will produce:

Text

The other way is with hex codes. The way to use it is with a sharp symbol #, followed by six characters corresponding to one color.
For example, {{Color|#00CC00|Text}} will produce:

Text

Hex code is preferred over text since on some browsers, text will be misread. A list of colors that can be used is found here. You can also look here or at Wikipedia's article for a larger variety of colors.