Tim Brook multimedia artist

Colour

Web colours

To view this webpage, install the Java plugin.

Use the sliders to get the colour you want, then type the code into your CSS.

Explanation

Years ago we had only a small choice of colours for websites. We were told to limit ourselves to the 216 websafe colours. It was about cross-platform and cross-browser inconsistencies—you don’t want to know the horrid details.

Now you can select any colour from a vast range and assign it to the text or background of any part of your webpage. Use code of the form color: #5a8ca0 ; or color: rgb(90,140,60) ; or background: #5a8ca0 ; on the style sheet. You’ll find full details and clear explanations on the W3C website.2

Observations

  1. Processing is the open source IDE used to produce the Java applets on this website.
  2. The WorlWide Web Consortium provides clear and comprehensive information at http://www.w3c.org/. It’s free and it’s much better than some expensive books I’ve read.