Added number validation for colors.