Right Click to place a pixel.
Use the mouse wheel or + and - buttons to zoom in.
Ctrl + Right Click to select a color from the canvas.
Tap to place a pixel.
Pinch to zoom or use the + and - buttons.
Long press to select a color from the canvas.
Set a hexadecimal color value in the lower left corner.
Source code on GitHub.