Images

LA home
Computing
Prog.Langs
 Java

Colour Cube

Applet would go here if you had Java on.  

The applet (left) draws a slice through the RGB colour cube at a particular colour level = red + green + blue.

The mouse can be used to change the colour level - click near the top of the applet to raise the level, click near the bottom of the applet to lower the level.

 

Using the applet (above) we are looking down the diagonal of the cube from white towards black.

The slices through the cube are triangular near to black (#000000) or white (#FFFFFF) and hexagonal when the overall level is between 255 (#FF) and 510 (#1FE)

  schematic colour cube and colour axes
Source code: [Colour.java].
Also see [colour table].
www:

free:
Linux
 Ubuntu operating-sys
OpenOffice office-suite
The GIMP ~photoshop
Firefox web-browser
FlashBlock flash on/off

Java
 APIs

© L. Allison   http://www.allisons.org/ll/   (or as otherwise indicated),
Created with "vi (Linux + Solaris)",  charset=iso-8859-1,  fetched Tuesday, 07-Feb-2012 16:49:05 EST.