It's pretty much linear and 3-dimensional (r, g, b values) you don't need a complicated structure to read that