The HSVREF structure contains the Hue, Saturation and Value of a specific color.
Hue of the color.
Saturation of the color.
Value of the color.
Reserved for future use.
pHSVREF is a pointer to an HSVREF structure.
The HSV value is the Hue ,Saturation, Value color space. Traditionally, hue ranges from 0 to 359. However, the hue component of the HSVREF is represented by an unsigned byte. Therefore, the range of 0 to 359 is remapped to a range of 0..255. For example,
Color | Hue(0..359) | Hue(0..255) |
---|---|---|
Red | 0 | 0 |
Green | 120 | 85 |
Blue | 240 | 170 |
Saturation ranges from 0 to 255 where 0 means the highest amount of white and 255 means no white.
Value ranges from 0 to 255 where 0 means highest amount of black and 255 means no black.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document