Answer the question
In order to leave comments, you need to log in
Is it possible to set color value in console in rgb(hex value) mode?
For example, I want to set the background color to rgb(#4A148C) and the text color to rgb(#F3E5F5). I used to use flags, but they are somehow inconvenient to use (especially when creating shades). Even in the vastness of the English-speaking Internet it is difficult to find something on this topic. How can I solve this problem?
(using the SetConsoleTextAttribute function)
Answer the question
In order to leave comments, you need to log in
Using SetConsoleTextAttribute - no way, read MSDN and see what it takes as input.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question