*commentary voice*
Annnd just look at the way jagex has crushed bots!
The way that we have now resorted to primitive colour detection bots in a feeble attempt to outlive the very much short lived lust for rebellion against them... *end voice*
Hahaha, really though, nice work
You can add an anti-ban features, i.e. by assigning each colour an integer - generating a number between the integer values will give the bot a randomness comparable to standard human deviation.