Help:How To Write in Wiki/Colors

From YWAMKnowledgeBase

< Help:How To Write in Wiki(Redirected from Color)
Simple Wiki.jpg

How much more fun it will be to change the colors. This can be useful to emphasize a word, sentence or a whole paragraph. It is also possible to use different colors for a template or within a table. There are three ways to make a color:

  1. Use color name.
  2. Use # color code.[1]
  3. Use RBG color code.[2]

Option 1 is the easiest, but has a limited choice of colors. Using option 2 or 3 give the whole spectrum of colors you can imagine. On this website you can find a tool to help you with the codes: Color code website.

Text color

Examples: Use code: Wikitext On page
Orange
(using color name)
<div style="color: Fill in color name">Your text</div>
<div style="color: orange">Orange</div>
Orange
Pink
(Using color code)
Fill in the # color code:
<div style="color: #000000">Your Text</div>
<div style="color: #D3127F">Pink</div>
Pink
Green
(Using RGB color code)
Fill in the RGB color code:
<div style="color: (0,0,0)">Your Text</div>
<div style="color: RGB(55,232,32)">Green</div>
Green

Text color in table

Example with color name: Use color name in: Wikitext Text color of this table is:
One text color in table Style="color: Fill in color name"
{| class="wikitable" style="color: red"
|- 
|
|Red
|}
Red
Example with # color code: Use # code in: Wikitext Text color of this table is:
One text color in table Style="color: Fill in # color code"
{| class="wikitable" style="color: #1C19C2"
|- 
|
|Blue
|}
Blue
Example with RGB code: Use RGB code in: Wikitext Text color of this table is:
One text color in table Style="color: Fill in RBG color code"
{| class="wikitable" style="color: rgb(135,89,16)"
|- 
|
|Brown
|}
Brown

Background color in table

Example with color name:
Use color name in:
Wikitext
Background color in table combined with text color Style="background: Fill in color name"
{| class="wikitable" style="color: white; background: brown"
|-
|
|}
Example with # color code:
Use # code in:
Wikitext
Background color in table combined with text color Style="background: Fill in # color code"
{| class="wikitable" style="color: #FFFFFF; background: #000000"
|-
|
|}
Example with RGB code:
Use RGB code in:
Wikitext
Background color in table Style="background: Fill in RGB color code"
{| class="wikitable" style="background: rgb(245, 255, 250)"
|-
|
|}

Notes

  1. These codes are used in graphic programs where they can be found, or look here on this website which includes even a tool to pick your color: Color Codes
  2. The RGB code is based on the color combination of Red, Green and Blue. These are used in graphic programs to form any color. On this website you can find a tool to calculate the right number for the color you would like to have: Color Codes