No, I was referring to the interference pattern, not to the perception of the colour, as I wrote before.What would the colours of light produced by a diffraction grating look like if the grating were under water? (Or for an oil film between glass and water etc. etc.)
We know that
d⋅sin(α) = n⋅λ
and λ will be different so the pattern will be too. If, for a specific value of n, we measure α, we find a different λ. Let' say that the difference between the two lambdas is too small to be appreciated by the human eye even if the frequencies were different and you don't know if the difference in wavelength is due to a difference in the source's frequency or to a difference in the medium's refractive index, do you conclude that the colour is "roughly" the same just because it seems the same to you eyes? Your precise measurements tell you the wavelengths are different..
What I mean is that "colour perception" is a thing, a "precise definition of colour" is another and one could define it using wavelengths, as many textbooks do (even if I am not keen on it). So we need a definition...