toHSLa

Converts the current ColorXSLa instance to the ColorHSLa representation (Hue, Saturation, Lightness, Alpha).

Return

A new ColorHSLa instance with the hue calculated based on the x value, and the other components retained as is.