Help:Text color: Difference between revisions
Content deleted Content added
m Reverted changes by 175.176.65.215 (talk) to last version by Sotiale Tags: Rollback SWViewer [1.3] |
→Standard color names: #ffff00 LOL Tags: Mobile edit Mobile web edit |
||
Line 64: | Line 64: | ||
|aqua |
|aqua |
||
| style="background:#00ffff; color:#000000; font-family:monospace;" |#00ffff |
| style="background:#00ffff; color:#000000; font-family:monospace;" |#00ffff |
||
|} |
|||
==See also== |
==See also== |
Revision as of 12:59, 21 January 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 |
maroon | #800000 | red | #ff0000 |
purple | #800080 | fuchsia | #ff00ff |
green | #008000 | lime | #00ff00 |
olive | #808000 | yellow | #ffff00 |
navy | #000080 | blue | #0000ff |
teal | #008080 | aqua | #00ffff
See also |