.TH vga_setpalette() "" "" "VGA Function"
.PC "Set a color in the current palette"
.B "#include <vga.h>"
\fBint vga_setpalette(\fIindex\^\fB, \fIred\^\fB, \fIgreen\^\fB, \fIblue\^\fB)\fR
\fBint \fIindex\^\fB, \fIred\^\fB, \fIgreen\^\fB, \fIblue\^\fB;\fR
.PP
Function
.B vga_setpalette()
sets color
.I index
in the current palette to
.IR red ,
.IR green ,
and
.IR blue .
.SH "See Also"
.B
libvga,
vga_getpalette(),
vga_setpalvec()
.R
