.\" This page was automatically generated.  Do not edit!
.\"
.TH PLGCOL0 3plplot  "June, 2019" "" "PLplot API"
.SH NAME
\fBplgcol0\fP - Returns 8-bit RGB values for given color index from cmap0
.SH SYNOPSIS
\fBplgcol0\fP(\fIicol0\fP, \fIr\fP, \fIg\fP, \fIb\fP)
.SH DESCRIPTION

.P
Returns 8-bit RGB values (0-255) for given color from cmap0 (see the PLplot documentation).  Values are negative if an invalid color id is given.
.P
Redacted form: \fBplgcol0(icol0, r, g, b)\fP
.P
This function is used in example 2.
.SH ARGUMENTS
.TP
\fIicol0\fP (\fBPLINT\fP(3plplot), input)
Index of desired cmap0 color.
.TP
\fIr\fP (\fBPLINT_NC_SCALAR\fP(3plplot), output)
Returned value of the 8-bit red value.
.TP
\fIg\fP (\fBPLINT_NC_SCALAR\fP(3plplot), output)
Returned value of the 8-bit green value.
.TP
\fIb\fP (\fBPLINT_NC_SCALAR\fP(3plplot), output)
Returned value of the 8-bit blue value.

.SH AUTHORS
Many developers (who are credited at http://plplot.org/credits.php)
have contributed to PLplot over its long history.
.SH SEE ALSO
PLplot documentation at http://plplot.org/documentation.php.
