RGBHSV(3NCARG) | NCAR GRAPHICS | RGBHSV(3NCARG) |
RGBHSV - Converts a color specification given in the Red, Green, Blue (RGB) color space to color values in the Hue, Saturation, and Value (HSV) color space.
CALL RGBHSV (R, G, B, H, S, V)
#include <ncarg/ncargC.h>
void c_rgbhsv (float r, float g, float b, float *h,
float *s, float *v)
The C-binding argument descriptions are the same as the FORTRAN argument descriptions.
Use the ncargex command to see the following relevant examples: tcolcv, fcce02.
To use RGBHSV or c_rgbhsv, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
See the colconv man page for a description of all Colconv error messages and/or informational messages.
Online: colconv, hlsrgb, hsvrgb, rgbhls, rgbyiq, yiqrgb, ncarg_cbind.
Hardcopy: NCAR Graphics Fundamentals, UNIX Version
Copyright (C) 1987-2009
University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
March 1993 | UNIX |