Color/ToHSV

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
Code gs (Talk | contribs)
(Created page with "{{Func |Name=ToHSV |Description=Converts a {{Struct|Color}} into HSV color space. This calls {{GlobalFunction|ColorToHSV}} internally. |Realm=Shared and Menu |IsClass=Yes }} {...")

Latest revision as of 15:15, 7 October 2019

 Color:ToHSV( )

Contents

Description

Converts a Color structure into HSV color space. This calls ColorToHSV internally.

Returns

number

The hue in degrees [0, 360).

Returns

number

The saturation in range [0, 1].

Returns

number

The value in range [0, 1].
Personal tools
Navigation