Use pointers for colors instead of arrays.