Has anyone ever come across/written a basic calculator (or sketch maybe) that would allow one to enter in 24-bit RGB colour levels like (255,255,255) and have it spit out the respective 4-digit hex number that Adafruit GFX library is used to? e.g. 0xFFFF?
It's not a straight forward linear calculation with the middle 6-bits being for green and the outer two colours 5-bits each.
I'd like to #define a lot more different names than the usual set you find in library examples. Having some thing like the above would so speed this up for experimenting with the shades.
TIA for any pointers or advice!
Jason