FANDOM



ProblemEdit

You want to change the color of the text on a page.

 
code rendered text
 
{{Color|red|Test}} Test
 
<span style="color:red;">Test</span> Test
 
<div style="color:red;">Test</div>
Test
 
{{Color|#00FF00|Test}} Test
 
{{Color|rgb(0,0,255)|Test}} Test
 

Solution 1Edit

Precondition

  • Template:Color must be on the local wiki. Copy it from the link and create it locally if it is not available on the wiki where you want to use it.

How to use the color Template

Step Action
1 Use the color template by using this: {{Color|<Color of Text>|<Text>}} replacing <Color of Text> with the color you want, and replacing <Text> with the text you want to be Colored.
2 Preview the page to make sure it is what you want and then save.


Solution 2Edit

How to use HTML to color text

Step Action
1 Edit a page and type this in the source: <span style="color:Color of Text;">Text</span> replacing <Color of Text> with the color you want, and replacing <Text> with the text you want to be Colored. "div" can also be used in place of "span".
2 Preview the page to make sure it is what you want and then save.


Solution 3Edit

How to use RGB to fine tune colors

Step Action
1 Use one of the above methods but don't save yet.
2 Instead of using a word ("red") use rgb(?,?,?) Each ? is a value between 0 and 255. The first ? is red, then green, then blue. The color "red" would be rgb(255,0,0). You can also use HEX Colors with the format #?????? (#FF0000 = red)
3 Preview the page to make sure it is what you want and then save.