added color and alpha getters to CanvasRenderer. Fixes #5064