Is there a hex code for transparent bg color?

Setting the Canvas.PaintColor property to the number 16777215 works for specifying the color to transparent, which behaves like an eraser for anything that's been drawn on the canvas already.