Fixed validation rule for hex colors