Ucigame - Reference on Colors

Home | Getting Started | Reference | Introduction to Java | Gallery

Colors in Ucigame are specified in one of two ways:

In both cases, the number or number range from 0 to 255. Other values have no meaning.

Here are some examples with three numbers:

255, 0, 0   Pure, maximum red
0, 255, 0   Pure, maximum green
0, 0, 255   Pure, maximum blue
255, 255, 255     White: all colors at maximum
0, 0, 0   Black: all colors at minimum
255, 64, 164   Full red, some green and blue
255, 128, 128   Full red, medium green and blue
255, 192, 192   Full red, lots o' green and blue
128, 128, 128   Equal amounts of three colors yields a shade of gray
255, 255, 0   Yellow is red plus green
255, 0, 255   Purple is red plus blue
0, 255, 255   Teal is green plus blue
128, 0, 0   Dark red
128, 128, 0   Dark yellow

Here are some examples with one number:

255   Pure, maximum white
200   Light gray
150   Gray
128   Medium gray
100   Darker gray
50   Dark gray
0   Black