Palette Operators

bpy.ops.palette.color_add()

Add new color to active palette

bpy.ops.palette.color_delete()

Remove active color from palette

bpy.ops.palette.new()

Add new palette