add validtion regex for hex code