The read-only property provides runtime access to the original colors in the palette.
__property TColor OriginalColor[int color];
Description
Use OriginalColor to get the original color in the palette. The value of color must be between 0 and 255. The original colors are the palette colors that a bitmap file defined, or the colors you assigned to the Color property. TIvoryPalette remembers these color values that you can read back by reading the OriginalColor property. Reading the Color property can be different, since it gives you the current palette colors. In DirectX, there are two colors that can not be changed, color 0 and color 255. Color[0] is always clBlack, and Color[255] is always clWhite. So the OriginalColor is the color that you wanted to set, and Color is the color that Windows could realize. OriginalColor and Color are usually the same, except for color 0 and color 255.