16777215 = 0xFFFFFF

Depth is supposed to be 24 bit int. Do you think a define for this would be appropriate? Can't really think of a good name :(