Function hslToRgb

  • Convert the given HSL color to an sRGB color. Based on the EasyRGB pseudo-code.

    Parameters

    • color: Hsl

      The HSL color.

    Returns Rgb

    An sRGB color.