Color vision is the ability of an organism or machine to distinguish objects based on the wavelengths (or frequencies) of…