Creating a struct of RGB Values

Yes, it works....

Clearly "main" is a reserved word in C++ and I had used it to reference something completely different. I keep forgetting I am working in C++ as well as the Arduino environment.

Now that this error has been corrected I still need to work out how to dereference the struct to derive the individual rgb values. Suggestions?

Thanks for your help guix.
Ric