_G.ColorToHSV

From GMod Wiki

Jump to: navigation, search
Function
Syntax _G.ColorToHSV( Color color )
Where is this used?
Description:
Calculates the HSV color space equivalent of the input RGB color
Returns: Number hue, Number saturation, Number value
Part of Library: Global Functions
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.ColorToHSV]G.ColorToHSV [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Example

DescriptionN/A
Used onNewerMissing.png
Code
LuaIco3.pngThis page needs an example to demonstrate the item detailed on this page. See how to make one here.
See more articles that need examples here.
OutputN/A

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox