palette_swatch
ActiveTool of Colour Memory
Generate a clean, text-free PNG swatch image from hex colours. Returns a URL to the PNG. Use for Midjourney --sref style references or design mood boards. Supports photo-proportional weights from palette extraction, equal distribution, grid layout, a true smooth LCh-interpolated gradient (no hard colour edges, best for mood/atmosphere/colour-grade references rather than literal composition), and 13 fixed design ratios (6310, 7020, triptych, quad, filmstrip, etc.).
Parameters schema
{
"type": "object",
"required": [
"hexes"
],
"properties": {
"h": {
"type": "integer",
"description": "Output height in pixels (default 630)"
},
"w": {
"type": "integer",
"description": "Output width in pixels (default 1200)"
},
"hexes": {
"type": "string",
"description": "Comma-separated hex values e.g. #d4a829,#1a5c6e,#0a0a0b"
},
"layout": {
"type": "string",
"description": "photo | equal | grid | gradient | filmstrip | 6310 | 7020 | 5030 | 8010 | 5050 | 6040 | triptych | quad | 55-25-20 | quint | 70-10-20 | 40-30-20-10 | 33-33-24-10. gradient is a true smooth perceptual blend with no hard edges, unlike every other layout here."
},
"weights": {
"type": "string",
"description": "Comma-separated proportional weights from k-means extraction. Used only when layout=photo."
}
}
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
Colour Memory
https://github.com/DigbyO/colour-memory-api
2/7 registries