You can load a palette by using mbColorPalette which is part of the mbColorTools. The palette colors are loaded from a stringlist of colors that you can create manually or the palette colors can be loaded from the IEBitmap.Palette. The mbColorPalette can contain any number of colors.