Palette entry is the term to denote a color in the palette of a digital image represented in the indexed color space. Below is an example of the beginning of a palette ("color table" as sometimes called), which shows that a palette entry is composed of a pair of "cells": one cell from the column of indices and another from the column of colors.
| Index |
Color |
| 0 |
Forest Green |
| 1 |
Steel Blue |
| 2 |
Medium Purple |
| 3 |
Slate Gray |
| ... |
... |
The bordered position is the palette entry that associates the index 2 with the color Medium Purple.
In order to save memory, a set of palette entries usually is stored as an array of colors rather than as a table in the form illustrated. This way every color gets the unique index accordingly to its position in the array.
|