Navigation menu

Template:Color

From Metroid Wiki
Revision as of 19:01, 27 December 2018 by Prod (talk | contribs) (Reverted edits by Your mom (talk) to last revision by Embyr 75)

{{{2}}}

Purpose

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

Usage

    {{Color| color | text }}

  • 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 can be found here or at Wikipedia's article for a larger variety of colors.