I would have something like
Then I'd have something like:
# being x and y of the color you're clicking on.
Of course I'm not that great of a programmer so checking with someone good would probably best the best action.
x = MouseX() y = MouseY()
Then I'd have something like:
If x > # and x < # and y > # and y < # and MouseDown(1) ;change color EndIf
# being x and y of the color you're clicking on.
Of course I'm not that great of a programmer so checking with someone good would probably best the best action.