Template:Fontcolor/doc

From wiki.jriver.com
Jump to navigation Jump to search

Usage

This template is used to make a simple way to change background and text color.

Examples

These are some examples of how to make them:

Changing Text Color

This shows how to change text color, follow this to see how:


{{Fontcolor|Color of text|Text}} is how to change text color.


So,{{Fontcolor|blue|Text in blue!}} gives...

Text in blue!

Changing Background Color

This shows how to change background color, follow this to see how:

{{Fontcolor||Background color|text}} is how to change background color, notice that there are 2 | after {{Fontcolor?


So, {{Fontcolor||red|Remember to put 2 | after {{Fontcolor}} }} gives...

Remember to put 2 | after {{Fontcolor}}

Changing Background And Text Color

This shows how to change background and text color together, follow this to see how:

{{Fontcolor|Color of text|Color of background}} is how to change background and color.


So, {{Fontcolor|blue|red|WOW, the text is blue and the background is red!}} gives..

WOW, the text is blue and the background is red!

Colors

These are the 16 main colors, there are all the colors in this page.


Color Hexadecimal Code Color Hexadecimal Code
black #000000 silver #c0c0c0
gray #808080 white #ffffff
maroon #800000 red #ff0000
purple #800080 fuchsia #ff00ff
green #008000 lime #00ff00
olive #808000 yellow #ffff00
navy #000080 blue #0000ff
teal #008080 aqua #00ffff