e available, it can use the <A NAME="Shapes_11.htm_IX_GrMapColorIndex()">
 </A>
<CODE>
GrMapColorIndex()</CODE>
 routine to find the RGB value associated with an index. The <A NAME="Shapes_11.htm_IX_GrMapColorRGB()">
 </A>
<CODE>
GrMapColorRGB()</CODE>
 routine returns the index and true RGB color of the palette entry that most closely matches the values passed.</P>


<H4 CLASS="HeadingC">
<A NAME="Shapes_11.htm_84719">
 </A>
Custom Palettes</H4>
<PRE>GrCreatePalette(), GrDestroyPalette(), GrSetPaletteEntry