wxColour::Get

void Get(char * red, char * green, char * blue)

Gets the RGB values---pass pointers to three char variables.