Tangentially related scripts
Glued together the "Batch Create/Update Local Styles" script and the "Color Stepper" script.
Batch Delete (Local) Color Styles
let node = figma.currentPage.selection[0]
let nodes = figma.currentPage.selection
nodes.forEach (node => {
let localPaints = figma.getLocalPaintStyles()
localPaints.forEach (localPaint => {
if(localPaint.name === node.name){
localPaint.remove()
}
})
})