ps1
    Preparing search index...

    Function hslToRgb

    • Convert from HSL to nearest (rounded, half up) RGB color.

      Parameters

      • hsl: Color

        HSL color, [h,s,l] tuple of numbers 0 <= h < 360 and 0 <= s,l <= 1

      Returns Color

      nearest RGB color, [r,g,b] tuple of integers 0 <= r,g,b <= 255