For more info how this works see RoCanvas Documentation.
Below is just a canvas element that's turned into RoCanvas using the default settings.
var r=new RoCanvas;
r.RO("sampleBoard");
var r2=new RoCanvas;
r2.RO("sampleBoard2", {
"toolbar": {
colors: ["pink", "#FFF","#000","#FF0000","#00FF00","#0000FF","#FFFF00","#00FFFF"],
custom_color: false,
tools: ['path', 'circle', 'rectangle'],
sizes: null,
saveButton: {"text": "Save", "callback": "testSave(r2);"}
},
"settings": {
color: 'pink'
}
});