Garry's Mod Wiki

Revision Difference

Color:ToHSV#547447

<function name="ToHSV" parent="Color" type="classfunc"> <description>Converts a <page>Color</page> into HSV color space. This calls <page>Global.ColorToHSV</page> internally.</description> <realm>Shared and Menu</realm> <file line="67-L74">lua/includes/util/color.lua</file>⤶ <rets> <ret name="" type="number">The hue in degrees [0, 360).</ret> <ret name="" type="number">The saturation in range [0, 1].</ret> <ret name="" type="number">The value in range [0, 1].</ret> </rets> </function>