Here are some examples of

matched suites of

web-safe colours

for text & background

 How does a computer handle colours?

Some of us learnt at school that there are three primary colours in a paint-box, red, yellow and blue, and we could make up other combinations by mixing them -

 

Computer colours are made up in a similar way, but using red, green and blue - RGB for short. The different shades are expressed by describing how much of each of those three colours is present; and 'how much' is expressed as a proportion of 256 different values

(2 x 2 x 2 x 2 x 2 x 2 x 2 x 2)

although since "0" is one of the values, the highest number is 255...

So black is "everything = zero",

R=0  

G=0  

B=0  

white is "everything = 255";

R=255

G=255

B=255

'pure red' is

R=255

G=0

B=0

while equal quantities of each produce different greys

R=153

G=153

B=153

The total number of combinations...


LIKE TO KNOW MORE? - CONTENTS

BACK TO TEMPLATES MAIN PAGE

David Kettlewell

web-sites
e-mail

Institute of Baltic Studies - Tartu - Estonia