Validate color provided to exclude-random switch