Generally your question is about Colormanagement.
A thread in our forum:
(It also contains a discussion about the Huion 24 4K and its limitations)
A general resource worth reading as a starting point:
https://www.cambridgeincolour.com/color-management-printing.htm