Assert max colors
Flexible array in colormap