fix on hexToRgb