mixHue
Mixes the current hue with the specified hue using a linear interpolation factor.
This method blends the current hue of the color with the given hue, considering the circular nature of hues (e.g., 5° and 355° are treated as being 10° apart rather than 350°).
Return
a new color of type T with the mixed hue applied.
Parameters
hue
the target hue to mix with, expressed in degrees.
factor
the interpolation factor, where 0.0 results in the current hue, and 1.0 results in the specified hue. Values between 0.0 and 1.0 produce interpolated hues.