For the purpose of visualizing certain data, I'm supposed to utilize the colorings. Namely, the C++ code I have on disposal is outputting using cairo-graphics, and the function is based on RGB space. The data I work with should, on the other hand, utilize "certain slice" of the CIELab color space.
The question is: what would be the most appropriate way to do this with C++? Perhaps some conversion that might still rely on the RGB function provided by cairo (though I doubt this alternative, since RGB is device-dependent)?