Color/ToHSL

From Garry's Mod
Jump to: navigation, search
 Color:ToHSL( )

Contents

Description

Converts a Color structure into HSL color space. This calls ColorToHSL internally.

Returns

number

The hue in degrees [0, 360).

Returns

number

The saturation in the range [0, 1].

Returns

number

The lightness in the range [0, 1].
Personal tools
Navigation