Hello. I have recently got a Seeed Studio TFT Screen (V2) for my Arduino. It includes some built in color codes, which by looking in their TFT library, I have found that they are 4 digit hexadecimal color codes. I know how to write colors in 6 digit hexadecimal (like in CSS), but how do these colors work, and how can I create my own colors (for example, orange) without having to cycle through all of the possible numbers?
I have just figured it out.. It seems simpler than I thought!
It seems to be something like this:
0xRGBB, where R is red, G is green, and B is blue. Not entirely sure why there are two blue digits though!