ground", col.toString());
  elem.style("color", col.textCol());
}

var pickerEvents = new hx.ColorPicker("#eventsPickerButton", {showInputs: true})

// Set the initial values of the inputs
updateBox("#eventsInputL", hx.color(pickerEvents.value()));
updateBox("#eventsInputR", hx.color(pickerEvents.value()));

// Add listener for when the currentColor changes.
pickerEvents.on("change", function(col){
  updateBox("#eventsInputL", col);
});

// Add listener for when the color has stopped changing (the user has 