Do you need a NCOL code instead of HSL?
Dopely's Converter can do it for you.
NCol describes colors based on what we see. This makes it easier for the viewer to choose the color and see it in some designs. If you have the HSL values of the color you want, enter it in the tool and get the NCol equivalent.
This color model represents Hue, Saturation and Lightness. Hue ranges from 0 to 360 degrees. The value of Saturation, the more it goes to 0, the color goes to the black or white range, and the more it goes to 100, the clearer the color becomes. Lightness also determines the amount of darkness and light of each color. By setting these three values, the desired color is created.