This may be a little handyer to pre-set![]()
This may be a little handyer to pre-set![]()



Schrodinger, yes that is for sure the name of the list!
Muddymole, I've never been familiar with colors being one value. I am not sure how that works.



Schrodinger, your example works. I guess I didn't think of adjusting the name of the list. LOL thanks man!
I will try to have it delete the entry after applying the color... then later copying the list back from a secondary list so it's ready for the next rotation. I will try to do that all on my own so I don't bother anyone. Thanks for the example!!

Yes, a color is just a single value.
All the GetRGB() expression does is calculate this value using the following formula:
Color = Red + (Green * 256) + (Blue * 65536)
I'm not suggesting you need to use that formula though. All I'd suggest is that the list starts out empty, and you have an event at the start of the frame to fill it with the desired values.
+ Start of frame
-> List: Add line: str$( GetRGB( 255, 0, 0 ))
-> List: Add line: str$( GetRGB( 0, 255, 0 ))
etc...
+ Whenever...
-> Something: Set color to: val( List Select$( "RGB_LIST" ))
That way it's still easy to edit, and the list only contains the color values, ready to use.
Not that there's anything wrong with Schrodinger's method - it's just more complicated.
No problem, just told you three times to check that nameThe example works, I guess I didn't think of adjusting the name of the list. LOL thanks man!
Glad it works now!
As for Muddymole's advice, you can obtain an RGB int value this way:
R*256*256 + G*256 + B = RGBValue
(or use Fusion's GetRGB function)
Your delete-reload solution should work, good luck.
edit:
Muddymole's formula is correct, Fusion handles RGB values this way.
I guess there is not a unified model?
i.e.:
http://www.shodor.org/stella2java/rgbint.html
this evaluates using the above formula, as many other online resources



Awesome guys, thank you for the guidance. I am very thankful for the advice.
I have to leave tomorrow out of town for a week or two and I will return September to finish this project. Very excited to be just over 50% done so this thread has helped A LOT. Really, thank you guys!
My method is to have each line contain a string such as "255, 255, 255" without the quotation marks. Then set the String Tokenizer to parse that line, with ", " delimeter. Then use the following expression:
GetRGB(Val(Element$( "String tokenizer", 0 ) ), Val(Element$( "String tokenizer", 1 ) ), Val(Element$( "String tokenizer", 2 ) ) )