Garry's Mod Wiki

Garry's Mod Wiki

  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].

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...