Documentation
Application Modules
Standalone Modules
bpy.ops.palette.
color_add
Add new color to active palette
color_delete
Remove active color from palette
new
Add new palette