Go to: Synopsis. Return value. MEL examples.

Synopsis

rgb_to_hsv vector

rgb_to_hsv is NOT undoable, NOT queryable, and NOT editable.

Converts colors between RGB and HSV colorspace representations. The components of the argument vector are expected to be between 0.0 and 1.0.

Return value

vectorHSV values

MEL examples

rgb_to_hsv <<.6,.6,.6>>;
// Result: <<0, 0, 0.6>> //