makePalette doc improved