Function

Cogl-18Coglcolor_init_from_hsl

  • Converts a color expressed in HLS (hue, luminance and saturation) values into a Cogl.Color.

    Parameters

    • hue: number

      hue value, in the 0 .. 360 range

    • saturation: number

      saturation value, in the 0 .. 1 range

    • luminance: number

      luminance value, in the 0 .. 1 range

    Returns Cogl.Color