Rebol Programming/rgb-to-hsv

USAGE:

edit
RGB-TO-HSV rgb 

DESCRIPTION:

edit

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

RGB-TO-HSV is a native value.

ARGUMENTS

edit
  • rgb -- (Type: tuple)

SOURCE CODE

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