I was working with using DomiantColors and the code provided from the Creative Computation course worked. But my code did not I have tried different codes but every time it says not a graphics directive. But when i use it with some other code already done it works. Or manually type in the RGB numbers. But why isn't it working for the code I created it seems that something is missing here. What am I missing? How can I improve. I would like to be able to do the same thing for using "color squares" I can't find the documentation explaining what the color square is.
I also tried this but will not work either.
So why do I have to manually type in the RGB color? But this code will work.
Thanks for your help!