Description of color problem

To avoid a continuous call of XAllocColor(3x) and XFreeColor(3x), colors MUST be allocated at init time. We must take care of different class of visual. There are 6 classes:
- StaticGray, GrayScale, StaticColor, PseudoColor, TrueColor and DirectColor.

Each class have different depth. Allocating color for 24 planes is hugly.

On a 8 color plane pseudoColor display, color is shared beetween application. Motif allocate , also, some color.

Partial Solve

Functions

TODO