bx-lib : the Basic X11 Library tuned for C beginners  1.0
Modules
Color (the main attribute of the pen)

Modules

 Functions manipulating the RGB model
 Predefined neutral RGB colors
 Neutral RGB colors are the ones whose (r,g,b) triplets verify r = g = b, that is, black, white, and all levels of gray in between.
 Predefined primary RGB colors
 Primary RGB colors are the three colors whose (r,g,b) triplets have one saturated channel and twos zeroed channels, that is, red, green and blue.
 Predefined secondary RGB colors
 Secondary RGB colors are the three RGB colors (namely cyan, magenta and yellow) obtained by computing the sum of two of the three primary RGB colors (namely red, green, blue). They have two saturated channel and one zeroed channel.
 Predefined tertiary RGB colors
 Tertiary RGB colors are the six colors (namely pink, orange, violet, azure, spring, lawn) obtained by computing the mean between one of the three primary RGB colors (red, green, blue) and one the three secondary RGB colors (cyan, magenta, yellow) at the exclusion of the complementary color that would result into neutral gray.

Detailed Description