Fixing HEX to RGB conversion (as it was broken)