hex validations