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... |