A Color Management System (CMS) similar to those in Photoshop, MPV Player, GIMP, etc. Comes with a utility program that generates 3D LUT for your game (usually sRGB gamut and sRGB TRC) and your display. Ideally you would have hardware calibrated and profiled display, but you can generate LUT from a generic ICC profile as well.
You can also use shader to apply any other 3D LUT.
github.com/garamond13/ReShade-shaders
There are other shaders and addons in the repo as well, like AMD FFX CAS, AMD FFX RCAS, UpgradeSwapEffect addon, and more.