Basic HTML version of Foils prepared 13 July 98

Foil 20 Hexadecimal RGB Values

From Java Academy II:Intermediate Java NPAC/ECS Java Academy -- February to April 98. by Tom Scavo


Recall that HTML colors are given as hexadecimal RGB constants: <BODY BGCOLOR="#000000" TEXT="#FF0000" LINK="#FFFFFF">
Java color values may also be given in hex: Color red = new Color( 0xFF0000 ); Color black = new Color( 0x000000 ); Color white = new Color( 0xFFFFFF );
This constructor is very useful...



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998