day2 hex2rgb replaced self-modifying methods because of frozen string