Color/ToHSL

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Code gs (Talk | contribs)
(Created page with "{{Func |Name=ToHSL |Description=Converts a {{Struct|Color}} into HSL color space. This calls {{GlobalFunction|ColorToHSL}} internally. {{NextUpdate}} |Realm=Shared and Menu |...")
Newer edit →

Revision as of 15:12, 7 October 2019

 Color:ToHSL( )

Contents

Description

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


Next Update Change

This feature is only available in the next update.

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