hex validation added for callback inputs

I could be useful to have hex validations on color inputs.