Creates a recolor function that replaces the hue and saturation of
primary color properties with those of a given color.
Secondary color properties will be replaced with grayscale versions of
the original colors, which means the overall brightness is kept, but only
the primary color properties affect the hue and saturation.
Creates a recolor function that replaces the hue and saturation of primary color properties with those of a given color.
Secondary color properties will be replaced with grayscale versions of the original colors, which means the overall brightness is kept, but only the primary color properties affect the hue and saturation.