Hasn't X11 had this for longer than Wayland has even been in existence? See for instance https://tronche.com/gui/x/xlib/color/
The implementation is slightly different to make things work better as both older decisions are cleaned up and newer features like per-monitor HDR pipelines are made more approachable.
(Note that W and Wayland are wholly unrelated)