Global/ColorToHSL

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Code gs (Talk | contribs)
(Created page with "{{Func |Description=Converts a {{Struct|Color}} into HSL color space. {{NextUpdate}} |Realm=Shared and Menu |IsClass=No }} {{Arg |type=table |name=color |desc=The {{Struct|Co...")
Newer edit →

Revision as of 09:23, 4 October 2019

 ColorToHSL( )

Contents

Description

Converts a Color structure into HSL color space.


Next Update Change

This feature is only available in the next update.

Arguments

table color

Returns

number

The hue in degrees.

Returns

number

The saturation in the range 0-1.

Returns

number

The lightness in the range 0-1.
Personal tools
Navigation