Gets the RGB color components of a color.
This is the same as query2, but inlined in C code.
the color
the components in 0xRRGGBB format