validations for rgb colors