This information has been extracted from the document in the Colour Space Library and is included here for easy reference.
Monitors (and therefore computers) and other systems that emit light use the RGB (Red / Green / Blue) colour model. This is called additive colour mixing because the more you add of each component colour, the brighter the colour you get (white being the maximum of red, green & blue).
This is fine for most applications but if you want to do some fancy effects it is often worth considering other colour models (or colour spaces).
The HSV colour space is a more 'arty' system based on the colour wheel. Instead of defining the colour by values of Red, Green & Blue, it uses Hue, Saturation & Value:
(Source of diagram unknown!) |
Hue is the angle around the colour wheel which gives us the colour. Some examples are listed below:
| Colour |
Degrees |
| Red |
0 |
| Yellow |
60 |
| Green |
120 |
| Cyan |
180 |
| Blue |
240 |
| Magenta |
320 |
Saturation is the distance from the centre of the colour wheel. A colour with S=0 is totally white, a colour with S=1 has no white at all and lies at the very edge of the colour wheel.
Value is the brightness of a colour. The higher the Value, the brighter the colour. V=0 is black; V=1 is a very brilliant colour.
Click here to view some of the uses of HSV colour as demonstrated by the Colour Space Library.
home | games | blitz lab | dot net | links | downloads | contact us
blitz basic, blitz, blitz basic resources, blitz basic libraries, blitz basic code, blitz resources, colour wheels, color wheels, colour conversion, color conversion, hsv, hsb, rgb, games programming, developer resources, develeloper links, games development, colour space, color space, colour models, color models, Aurora-Soft. |