One thing that's not mentioned: you can also use color-mix with constant colors, but the percentage from a "boolean" variable (0% or 100%, depending on if you're in dark mode or light mode). In this case the colorspace is ignored.
Is aducation a word?
Yeah, it's an advertisement, but it was informative enough for me not to bristle