HSVRGB(3NCARG) | NCAR GRAPHICS | HSVRGB(3NCARG) |
HSVRGB - Converts a color specification given in the Hue, Saturation, and Value (HSV) color space to color values in the Red, Green, Blue (RGB) color space.
CALL HSVRGB (H, S, V, R, G, B)
#include <ncarg/ncargC.h>
void c_hsvrgb (float h, float s, float v, float *r,
float *g, float *b)
The C-binding argument descriptions are the same as the FORTRAN argument descriptions.
Use the ncargex command to see the following relevant examples: coex03, tcolcv, fcce02.
To use HSVRGB or c_hsvrgb, 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, rgbhls, rgbhsv, 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 |