modulateChroma
Adjusts the chroma of the color by scaling it with the specified factor and returns a new instance with the updated chroma value. This method allows for proportionally increasing or decreasing the chromatic intensity of the color.
Parameters
factor
The multiplier for the chroma value. A factor greater than 1 increases the chroma, while a factor between 0 and 1 decreases it. A factor of 1 leaves the chroma unchanged.