|
||
void color_to_rgb ( int color, int *r, int *g, int *b)
int color; // color number int *r; // pointer to int to receive red value int *g; // pointer to int to receive green value int *b; // pointer to int to receive blue value
|
|
Synopsis |
#include "silver.h"
The color_to_rgb function retrieves the red, green and blue values associated with the color number specified by color .
|
Parameters |
color is a color number (i.e. between 0 and 255). r , g and b are all pointers to integer locations that are to receive the red, green and blue values.
|
Return Value |
none
|
See Also |
|
|