BFOIT - Introduction to Computer Programming

ColorNumbers Applet

  Color Numbers Tool  
Red Value:
Green Value:
Blue Value:
Decimal Hexadecimal


A common way to represent colors in computer programs is with what is known as the RGB (Red, Green, Blue) color model.  Colors are made up of the combined values of these RGB components.  Each of these components can have a value in the range of 0 - 255.  The value of zero represents total absence of the component. 

This "ColorNumbers" applet lets you play with different combinations of RGB values.  Simply fill in the boxes with numbers in the range of 0 - 255 and click the mouse on the [Show Color] button.  Start with an obvious color like a Red Value of 255 and display the result, then add a Green Value of 255 to this; and... do you get what you expected?

Public Domain Mark
This work (BFOIT: Introduction to Computer Programming, by Guy M. Haas),
identified by Berkeley Foundation for Opportunities in IT (BFOIT),
is free of known copyright restrictions.