Question about Making a Color Space

Godot 4.3

Hi, I was wondering if anyone here can help me with the topic mentioned in this Topic’s title. For potential games I wanted to make, I wanted to use custom color spaces for them. I remember reading how Unreal Engine has a working color space, allowing users to define their own custom ones. This poses a two-part question: First, is it possible to program a working color space in C++? Secondly, if it is possible, how would I go about programming such a thing into Godot?