Help:Text color

From mediawiki.org

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[edit]

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

See also[edit]