A colormap is a function that takes (x,y,z) and returns [r,g,b].
Annoyingly, x,y are integers in map coordinates and z is 0.0-1.0.