Contains the actual Hue, Saturation, and Value data values for a color defined within the Hue Saturation Value color model. The Saturation and Value values are expected to be between 0 and 1. If Value has a value of 0, then the values of Hue and Saturation are meaningless, because the color will be black. If Saturation has a value of 0, then the value of Hue is meaningless, and the value of Value will determine the shade of a grey color, somewhere between white and black. Hue is expected to have a value between 0.0 and 360.0 (not including 360.0). If the value of Hue is 'undefined' (because the value of Value or Saturation is 0), then the value of Hue can be represented as SE_POSITIVE_INFINITY, but this is not required. Basically, if Value == 0.0, then the values of Hue and Saturation should be ignored, and if Saturation == 0.0, then the value of Hue should be ignored. The Hue Saturation Value color model represents the color space as a hexagonal cone. The Hue of the color determines the 'color' of the color. The Saturation of the color determines the 'intensity' of the color, differentiating a 'strong' red from a 'weak' red, for example. And the Value of the color is the difference between a light color and a dark color. Decreasing the Value of a color adds black to the color.
SE_HSV_DATA | hsv_data; |
---|