Is there a way to get the (size of) the device's color palette programmatically?
Or to check if a color (like 0x000055) is supported by the device?
I'm looking for a simple solution (one or two lines of code). Without jungles, extra resource files etc.