CT-hsl function
If you've used the hsl function built into Sass you'll know that Sass converts values to hex, and the hsla function converts values to rgba. What if you wanted to keep them as hsl/hsla? This function allows you to pass either hex values or hsl values through it and it convert/preserve the values. If you pass the function another argument $alpha, you can create hsla values. Below are some examples:
Input -> Output ct-hsl(red); -> hsl(0, 100%, 50%); ct-hsl(#b4d455) -> hsl(75.11811, 59.62441%, 58.23529%); ct-hsl(blue,0.7) -> hsla(240, 100%, 50%,0.7); ct-hsl(90deg 42% 76%, 0.6) -> hsla(90, 42%, 76%,0.6); ct-hsl(50 50 50, 0.6) -> hsla(50, 50%, 50%,0.6);