Thank you all for your replies...
ieee488 - I have a project on which I have some controllable LED Strips... Previously, I had created a few lines of arrays with the different colors (the list that I showed in my example). I have a few assemblies of these and wanted each one to light in a different color. Instead of re-writing all of my code for each one, I used the same code for each one, which included all the color arrays and just manually changed the one line in the Fastled section for the color I wanted before uploading to the board.
eg. CRGB(red[0],red[1],red[2]) for the first unit, CRGB(blue[0],blue[1],blue[3]) for the second and so on.
I decided to "upgrade" my project, adding a color-change button to each unit. In my example above, I used a for-loop to demonstrate cycling through the elements from the palette array, but in practice, I have it so every time you press the button, it advances the "palette array" by one to select the color. - I just figured the "for loop" would be less to type in the forum.
Essentially, I was asking the question about putting the "arrays of colors" inside the "palette array" out of curiosity. Originally I figured I could just re-use my existing code by storing the existing color arrays inside of the palette array but saw that it didn't work. I know I've nested arrays like this in other languages (whether or not it is a waste of resources is debatable, of course) but when I couldn't get it to work here, I wondered if it was something I was doing wrong, or just something that couldn't be done.
arduarn - Thank you for the information on structs and pointers... I am familiar with the concept of pointers, but have only used them in one other project. I was under the impression that the use of pointers is for saving resources - It didn't occur to me to even try them.
Same for structs. I am (clearly) not that advanced of a programmer, so though I know what a Structure is, I didn't know what would make it different from an Array in the sense of how it would behave differently than an array.
Just so I understand (or perhaps to point out that I don't :-)) - you are saying that had I used STRUCTS instead of Arrays to define my colors, the structs can be stored in another array? (Or pointed to as you show?)
I am not entirely sure why the Struct behaves differently than an Array (with respect to being nested inside of another array) but I am reading about it now - looks like it has to do with how Arrays are pointers to the beginning of memory locations and Structs are clearly defined memory locations. (am I on the right track here?)
Thank you again for the assistance!
J