1: 2: 3: 4: 5:
$("#picker").farbtastic(function(color){ $("table").css("background-color", color); }); //Change "table" to match the selector of the element whose background you want to change.