Colours from a [0,1] float?

Yes. See: Color Range: pick color in range base on values in a vector - #4 by stevengj

As explained in the linked post, doing linear interpolation like this produces a color map that is not perceptually uniform (distorts data).

2 Likes