Color/ToHSV

From Garry's Mod
Jump to: navigation, search
 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