You should probably just let people click on black, white, or grey buttons to select the current color.
* If you click with the "left" button on a "grey" or "white" pixel, then you draw with a "black" color until you release the button.
* If you click with the "left" button on a "black" pixel, then you draw with a "grey" color until you release the button.
* If you click with the "right" button on a "grey" or "black" pixel, then you draw with a "white" color until you release the button.
* If you click with the "right" button on a "white" pixel, then you draw with a "grey" color until you release the button.
That all said, layout of the site and idea itself is very good.
Thanks for trying it out!
There's a possibility that a good code could be converged on but if the crypto is good enough it should be difficult. I haven't done any research at all though, I could be way off base.