Exit direction hints are case insensitive when converting to a CSS colour class