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