FANDOM


A summary of this page:
You can color text using <div style="font-size:?pt;color:?;">TEXT</div>.
This article is about how to color text with HTML. Were you looking for HEX Colors?


Color Text is a way to write words or sentences in different colors. It can be used in various ways in both Wiki Markup and HTML code.

HTMLEdit

Color is often used in text, and the easiest way to do it is with a Divider class.

<div style="font-size:?pt;color:?;">TEXT</div>

To use this code, change the first ? to the font size you want, and change the second ? to the color that you want.

Example:

<div style="font-size:12pt;color:red;">TEXT</div>
TEXT
HEX-Value:
<div style="font-size:12pt;color:#FF0000;">TEXT</div>
TEXT

Both of these give you:

TEXT

Second wayEdit

There is also another way to colour text:

<span style="color:red;">TEXT</span>

Or:

<span style="color:#FFFF00;">TEXT</span>

Both of these give you: <span style="color:#FFFF00;">TEXT</span>
TEXT


For ease of use, this Wiki has a color template you can use to make coloring text easier.

UseEdit

These codes create a red Text. You can change the color by replacing red to another color, like green or blue. You can also change the color by replacing red with a HEX-Value. With this Method, you got more possible colors to use.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.