What determines the color gamut of a display? I’m not sure if I’m posting this question in the right area but, I’m wondering what determines the color gamut of a display?

Is or hardware down to the RGB filter built into a display like a monitor etc or is it software like a different color profile?

Question stems from the curiosity of if one display’s color gamut can be changed or not
The physical imaging elements of your monitor define your gamut. So things like how bright the elements can be as well as the color spectra of the color elements define the gamut. But, thats quite the simplification, its also affected by such things as the screen surface material and background lighting conditions.

Can the gamut be changed? Sure, if you want a smaller gamut then you can restrict your colors to a subrange of your gamut.