colormind
oleh boilerrat
AI & LLMsRingkasan
Generate color palettes and get color suggestions via the Colormind.io API (list models, generate palettes.
Deskripsi
Apa yang Dilakukan Skill Ini
Generates color palettes via the Colormind.io API. Supports random generation, locking specific RGB color slots to anchor existing brand colors, and extracting palette suggestions from local images. Outputs JSON or a Markdown hex+RGB summary.
Locking specific color slots lets you anchor existing brand colors and have the model fill the rest, skipping manual iteration in design tools.
Kapan Menggunakannya
- Locking two brand colors and generating a matching 5-color palette
- Sampling colors from a product photo to build a website theme
- Generating a UI color scheme anchored to a specific hex value
- Exploring available Colormind models to find the right palette style
- Exporting palette JSON for automated design token pipelines
Contoh Alur Kerja
User asks: generate a UI palette that includes our brand blue at RGB 0,122,255
- 1
Run generate_palette.mjs with --model ui and --input '0,122,255' N N N N
- 2
Colormind API fills the four free slots based on the locked color
- 3
Return JSON array of all 5 RGB triples
- 4
Rerun with --pretty to get hex codes in a Markdown table
JSON array of 5 RGB triples, including the locked brand blue and four harmonious generated colors
Persyaratan
- ImageMagick (provides the 'convert' binary required for image-to-palette sampling)
Instalasi
clawhub install boilerrat/colormindJalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.