Using palette for subtitles