Template:Color

From Diary of a Wimpy Kid Wiki
Jump to navigation Jump to search

Info

Use this as an easy way to color text. From WiKirby.

Usage

To use this template, type: {{color|colorname/code|text}}

Where:

  • colorname/code 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