Fabric.js toHsla() Method
The toHsla() method is used to convert any type of the specified color representation to it’s HSLA (hue, saturation, lightness, and alpha) representation.
Parameters: This method does not accept any parameter.
Return Value: This method returns color representation in HSLA format.
hsla(226,100%,10%,1) hsla(239,96%,51%,0.1) hsla(0,0%,0%,1)