Fixed issue with "mkcolorpalette" script.