Images

home1 home2
 Bib
 Algorithms
 Bioinfo
 FP
 Logic
 MML
 Prog.Lang
and the
 Book

ProgLang
 glossary
 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 take a JavaScript look at a [colour table].

Coding Ockham's Razor, L. Allison, Springer

A Practical Introduction to Denotational Semantics, L. Allison, CUP

Linux
 Ubuntu
free op. sys.
OpenOffice
free office suite
The GIMP
~ free photoshop
Firefox
web browser

Java
 API

© L. Allison   http://www.allisons.org/ll/   (or as otherwise indicated),
Faculty of Information Technology (Clayton), Monash University, Australia 3800 (6/'05 was School of Computer Science and Software Engineering, Fac. Info. Tech., Monash University,
was Department of Computer Science, Fac. Comp. & Info. Tech., '89 was Department of Computer Science, Fac. Sci., '68-'71 was Department of Information Science, Fac. Sci.)
Created with "vi (Linux + Solaris)",  charset=iso-8859-1,  fetched Thursday, 28-Mar-2024 19:13:26 AEDT.