You can make an array of color codes and use it with OpenGL. Something like:Code: Pascal [Select][+][-]type RGBByte = packed record r,g,b: byte end;...var colors: array[0..255] of RGBByte;...glColor3bv(@colors[16]); // Would use index color 16 for all next drawings