fromLABa
Converts a color from the LABa color space to the LCHABa color space.
The conversion maps the lightness (l
) from LABa to LCHABa, calculates the chroma (c
) as the magnitude of the a
and b
components, and computes the hue (h
) as the angle of the vector formed by the a
and b
components. The alpha and reference white values are retained from the original LABa color.
Return
A ColorLCHABa
instance representing the color in the LCHABa color space.
Parameters
laba
The color in the LABa color space to convert.