index  search
Categories

General => css => colour


Colours

There are several elements in CSS relating to colour for example:
  • Fonts
  • Backgrounds
  • Borders

They are all set using the same basic construct:

item: hexcolour;


The possible values for item are:
background
color (note USA spelling)
border-colour

Here are some examples:

background: #006600; - would set the background colour to roughly a dark green.
colour: #ffffff; - would set the type colour to white.


See also:  xhtml_colours
Copyright © 1987-2014 The Bosun's Mate