rgb2hsv

Converts a 3 dimensional color-vector from the RGB to the HSV colorspace. The function assumes that each component is in the range [0, 1].

  1. vec3 rgb2hsv(vec3 inp)
    @safe pure nothrow
    rgb2hsv
  2. vec4 rgb2hsv(vec4 inp)

Meta