I am coloring surfaces using palettes (purples or a custom green-white-magenta). These both have a single luminance value, is it possible to generate a color palette that also has changing luminance. The ideal palette would be green -> white -> magenta along
the color axis, and 0 - > 255 scaling the luminance of the rgb. We would effectively have a color bar matrix that goes from dark green to black to dark magenta if the values are low and bright green to white to bright magenta if the values are high.