Draw using the mouse. Press 0 to enter in a color code. To find the color code, calculate red*65526 + green*256 + blue. Press 1 to enter in a pen size. Press c to clear the board. Press a to turn the pre-set colors list on/off.
All code by @ITeachMathInClass0. You can use this in classrooms. 66 blocks in total. The pen initially goes to the mouse x and mouse y if the pen wasn't down before, enabling the ability to use a touchscreen.