Cogl.Color.to_hsl

### Method

# Cogl Colorto_hsl

#### Declaration [src]

    void
    cogl_color_to_hsl (
      const CoglColor* color,
      float* hue,
      float* saturation,
      float* luminance
    )

#### Description [src]

Converts `color` to the HLS format.

The `hue` value is in the 0 .. 360 range. The `luminance` and `saturation` values are in the 0 .. 1 range.

Available since: | 1.16

#### Parameters

`hue` | `float*`
| Return location for the hue value or `NULL`.
| The argument will be set by the function.
`saturation` | `float*`
| Return location for the saturation value or `NULL`.
| The argument will be set by the function.
`luminance` | `float*`
| Return location for the luminance value or `NULL`.
| The argument will be set by the function.