Categorical Color Saturation gradient

Inspired by Stephane's great components that generate colors and gradients, herein please find a component and protocol for generating colors based on two properties. The first property (intended to have a limited number of values [categorical]) determines the hue of the color for the record, while the second color (intended to be a continuous variable) determines the saturation level of the color for the record.

The color is added to the record as a Hex value that can be used with many of the charting components.