Change parsing of hashless hex colors to not use the 'representation'. Compat analysis in https://bugzilla.mozilla.org/show_bug.cgi?id=170614