Help:Color
From Thinkmath
Simple choices
In the following example, the border color of the box is specified by rgb(153,153,153). The three numbers specify the values of Red, Green, and Blue, respectively, and may assume values from 0 to 255. Equal amounts of all give a neutral color varying from black (0,0,0) to white (255,255,255). Parameters (255,0,0) would be intense red; (153,0,0) a pink; and so on. "Standard" font and background colors can be accessed by name: red, green, blue, yellow, white, silver, black. For other colors, see below.
Wiki markup
{|
|-
! × !! style="background:red; color:white" |1 !! 2 !! 3
|-
! style="background:red; color:white" | 2
| 2
| bgcolor="yellow" | <font color="green"> 4 </font>
| 5
|- style="background:silver; color:blue"
| 3 || 3 || 6||9
|}
What it looks like in your browser
× 1 2 3 2 2 4 5 3 3 6 9
More choices
See codes and names for other colors at Wikimedia colors. These, too, can be used for background and font color. See example below for how to use them.
Wiki markup
<font style="background: #ab5500; padding: 1px;">Tree brown</font> <font style="background: #ab5500; color: #22FF22; padding: 1px;">greenish letters</font> <font style="background: #55ab00; padding: 1px;">Olive green</font> <font style="background: #00ff00; padding: 1px;">Spring green</font> <font style="background: #00ab55; padding: 1px;">Summer green</font>
What it looks like in your browser
Tree brown greenish letters Olive green Spring green Summer green
