Support 6-letter hex code in ansi256 script