Gets a CSS style string from a IHsl object and opacity value
the IHsl input color
whether the color is in HDR mode or not
Optional
the opacity value
the peak brightness in nits for HDR rendering
the HDR rendering mode
the CSS style string
Gets a CSS style string from a IHsl object and opacity value