Jump to content

Help:Text color

From Fifth Empire Wiki
Revision as of 20:53, 24 January 2026 by Lusi (talk | contribs) (Created page with " Change the '''text''' color using this:'''<nowiki><span style="color:#009999"></nowiki>''' <span style="color:#009999"> '''This sentence has a cyan-colored text...'''</span>'''<nowiki></span></nowiki>'''</span> Change the '''background''' color using this: '''<nowiki><span style="background:#00FF00"></nowiki>''' <span style="background:#00FF00">'''This sentence has a lime-colored background...'''</span>'''<nowiki></span></nowiki>'''</span> Adjust both the '''text'''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Change the text color using this:<span style="color:#009999"> This sentence has a cyan-colored text...</span>


Change the background color using this: <span style="background:#00FF00"> This sentence has a lime-colored background...</span>


Adjust both the text and background colors using this: <span style="color:#FFFFFF; background:#FF69B4"> This sentence has white-colored text and a Hot Pink-colored background....</span>

Standard names of color

The following sixteen named colors are defined by the HTML 4.01 specification:

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