fix hex value less than 0x100000 rendered too few digits for valid css hex color
revert to previous color generation but pad zeros