Help:Text color: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
m Reverted changes by 49.146.169.119 (talk) to last version by BRPever
Tag: Rollback
No edit summary
Tags: Visual edit Mobile edit Mobile web edit
Line 20: Line 20:
{| class="wikitable" border="0"
{| class="wikitable" border="0"
|+
|+
EVOS
<br />
!Color
!Color
!Hexadecimal
!Hexadecimal
Line 53: Line 55:
| style="background:#808000; color:#ffffff; font-family:monospace;" |#808000
| style="background:#808000; color:#ffffff; font-family:monospace;" |#808000
|yellow
|yellow
| style="background:#ffff00; color:#000000; font-family:monospace;" |#ffff00
| style="background:#ffff00; color:#000000; font-family:monospace;" |EVOS
|-
|-
|navy
|navy

Revision as of 06:57, 24 June 2019

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:

EVOS
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 EVOS
navy #000080 blue #0000ff
teal #008080 aqua #00ffff

See also