compute ansi color modes fuzzily with strings