This is part of a thing I'm working on for a game to do some rather basic color calculations but faster. This gets a color at a given position and unshifts the result to the start of a pre-generated color array, speeding up future lookups of that color once it's known to occur. I am no rocket scientist. This could probably be made even faster. I'm just having fun.