Set foreground color by palette double click