fix palette and translucid color