Garry's Mod Wiki

ColorToHSL

ColorToHSL

  number, number, number ColorToHSL( table color )

Description

Converts a Color into HSL color space.

Arguments

1 table color
The Color.

Returns

1 number
The hue in degrees [0, 360].
2 number
The saturation in the range [0, 1].
3 number
The lightness in the range [0, 1].

Special Pages


Wikis

?

Render Time: 69ms

DB GetPage 48
Generate Html 5
SaveChanges (1) 6
Render Body 0
Render Sidebar 7