ColorToHSL

From Garry's Mod
Revision as of 16:58, 12 November 2019 by Robotboy655 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 ColorToHSL( )

Contents

Description

Converts a Color structure into HSL color space.

Arguments

table color

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