How to use hex colors on brain, if possible. I know how to find a color, but I do not know how to use a special one

I use V5 C++. Please help. I know how to find colors (for example #FF0000 for pure red) but not how to draw on brain with them.

1 Like

image
This, and trying with a couple other hexcodes, produced the stock purple color (ffffff is pure white), what did I do wrong?

Also tried with capitalized letters.

Sorry, it seems that doesn’t work. I found this post from a few years ago that shows how you can use hex codes:

1 Like

I made it into a function and it worked. While it is inconvenient, it works. Thank you!