 Like EGA uses the CGA color value to address a palette entry, the VGA hardware will also use the palette entries not directly as signal levels but as indexes to the color registers.Therefore, in the 16-color modes, the color value from the RAM will reference a palette register and that palette register will select a color register.E.g.