Rebol Programming/rgb-to-hsv

From Wikibooks, open books for an open world
< Rebol Programming
Jump to navigation Jump to search

USAGE:[edit | edit source]

RGB-TO-HSV rgb 

DESCRIPTION:[edit | edit source]

Converts RGB value to HSV (hue, saturation, value)

RGB-TO-HSV is a native value.

ARGUMENTS[edit | edit source]

  • rgb -- (Type: tuple)

SOURCE CODE[edit | edit source]

rgb-to-hsv: native[
    "Converts RGB value to HSV (hue, saturation, value)" 
    rgb [tuple!]
]