Cogl.Color.init_from_hsl
Description: Reference for Cogl.Color.init_from_hsl

### Function

# Cogl Colorinit_from_hsl

#### Declaration [src]

    void
    cogl_color_init_from_hsl (
      CoglColor* color,
      float hue,
      float saturation,
      float luminance
    )

#### Description [src]

Converts a color expressed in HLS (hue, luminance and saturation) values into a `CoglColor`.

Available since: | 1.16

#### Parameters

`color` | `CoglColor`
| Return location for a `CoglColor`.
| The argument will be set by the function.
| The data is owned by the caller of the function.
`hue` | `float`
| Hue value, in the 0 .. 360 range.
`saturation` | `float`
| Saturation value, in the 0 .. 1 range.
`luminance` | `float`
| Luminance value, in the 0 .. 1 range.