Help:Text color: Difference between revisions
Content deleted Content added
m Reverted changes by 175.176.0.237 (talk) to last version by Hasley Tags: Rollback SWViewer [1.3] |
|||
Line 35: | Line 35: | ||
| style="background:#ffffff; color:#000000; font-family:monospace;" |#ffffff |
| style="background:#ffffff; color:#000000; font-family:monospace;" |#ffffff |
||
|- |
|- |
||
|granate |
|||
|maroon |
|||
| style="background:#800000; color:#ffffff; font-family:monospace;" |#800000 |
| style="background:#800000; color:#ffffff; font-family:monospace;" |#800000 |
||
|red |
|red |
||
| style="background:#ff0000; color:#000000; font-family:monospace;" |#ff0000 |
| style="background:#ff0000; color:#000000; font-family:monospace;" |#ff0000 |
||
|- |
|- |
||
|purpura |
|||
|purple |
|||
| style="background:#800080; color:#ffffff; font-family:monospace;" |#800080 |
| style="background:#800080; color:#ffffff; font-family:monospace;" |#800080 |
||
|fucsia |
|||
|fuchsia |
|||
| style="background:#ff00ff; color:#000000; font-family:monospace;" |#ff00ff |
| style="background:#ff00ff; color:#000000; font-family:monospace;" |#ff00ff |
||
|- |
|- |
||
|verde |
|||
|green |
|||
| style="background:#008000; color:#ffffff; font-family:monospace;" |'''#008000''' |
| style="background:#008000; color:#ffffff; font-family:monospace;" |'''#008000''' |
||
|lima |
|||
|lime |
|||
| style="background:#00ff00; color:#000000; font-family:monospace;" |#00ff00 |
| style="background:#00ff00; color:#000000; font-family:monospace;" |#00ff00 |
||
|- |
|- |
||
|oliva |
|||
|olive |
|||
| style="background:#808000; color:#ffffff; font-family:monospace;" |#808000 |
| style="background:#808000; color:#ffffff; font-family:monospace;" |#808000 |
||
|amarillo |
|||
|yellow |
|||
| style="background:#ffff00; color:#000000; font-family:monospace;" |#ffff00 |
| style="background:#ffff00; color:#000000; font-family:monospace;" |#ffff00 |
||
|- |
|- |
||
|navy |
|"navy" |
||
| style="background:#000080; color:#ffffff; font-family:monospace;" |#000080 |
| style="background:#000080; color:#ffffff; font-family:monospace;" |#000080 |
||
|azul |
|||
|blue |
|||
| style="background:#0000ff; color:#ffffff; font-family:monospace;" |#0000ff |
| style="background:#0000ff; color:#ffffff; font-family:monospace;" |#0000ff |
||
|- |
|- |
||
|verde azulado |
|||
|teal |
|||
| style="background:#008080; color:#000000; font-family:monospace;" |#008080 |
| style="background:#008080; color:#000000; font-family:monospace;" |#008080 |
||
|aqua |
|aqua |
Revision as of 18:31, 6 February 2020
Set text color by using <span style="color:#009000"> TEXT </span>
Set background color by using <span style="background:#00FF00"> TEXT </span>
Set both by using <span style="color:#FFFFFF; background:#FF69B4"> TEXT </span>
Standard color names
The HTML 4.01 specification defines sixteen named colors, as follows:
Color | Hexadecimal | Color | Hexadecimal |
---|---|---|---|
black | #000000 | silver | #c0c0c0 |
gray | #808080 | white | #ffffff |
granate | #800000 | red | #ff0000 |
purpura | #800080 | fucsia | #ff00ff |
verde | #008000 | lima | #00ff00 |
oliva | #808000 | amarillo | #ffff00 |
"navy" | #000080 | azul | #0000ff |
verde azulado | #008080 | aqua | #00ffff |