split normalize hex into normalize and validate