Added color validation