are valid else you only can rely on the index value. Or it was the other way around. If all RGB values are 0 you have to use the index. + I committed some new code for TColorDialog. The selected + color can now be set. OK Marc