Use it
Extract palette
Command line
shell
python app.py --action extract --params '{"image": "D:/path/to/image"}'
Run from the app’s own folder. Single quotes work in bash and PowerShell; in cmd.exe use double quotes and escape the inner ones.
MCP tool
mcp
run_action("colorpalette", "extract", {"image": "D:/path/to/image"})
Workflow node
json
{
"id": "n0",
"app": "colorpalette",
"action": "extract",
"params": {
"image": "D:/path/to/image"
},
"inputs": {}
}
Extract folder
Command line
shell
python app.py --action extract_folder --params '{"folder": "D:/path/to/folder"}'
Run from the app’s own folder. Single quotes work in bash and PowerShell; in cmd.exe use double quotes and escape the inner ones.
MCP tool
mcp
run_action("colorpalette", "extract_folder", {"folder": "D:/path/to/folder"})
Workflow node
json
{
"id": "n0",
"app": "colorpalette",
"action": "extract_folder",
"params": {
"folder": "D:/path/to/folder"
},
"inputs": {}
}
Example prompts
Things you can say to Claude, Cursor or Codex once the MCP server is registered.
- extract a 6-colour palette from this image
- get the dominant colours for every image in D:/renders as hex codes
- pull a colour palette from this photo and save a swatch PNG