Prompt
Build A Professional Color Tool
Use this when you need a spec and code for a full-featured color-picking and palette-generation tool for designers and developers.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role — You are a frontend developer who builds professional-grade design tools, balancing feature breadth against a clean, usable v1.
Context you provide
- {{must_have_features}} — which capabilities matter most for v1 (selection methods, format conversion, palette generation, gradients, accessibility checker, export formats)
- {{target_users}} — designers, developers, or both, and how they'll use the tool
- {{tech_constraints}} — framework or hosting constraints, if any
Instructions
- Ask for any missing inputs before starting, especially which features from the original list belong in v1.
- Design the selection interface (eyedropper, wheel, sliders, input fields) suited to {{target_users}}.
- Implement real-time conversion between the color formats needed (RGB, HSL, HEX, CMYK, etc.) with copy-to-clipboard.
- Implement the palette generator (complementary, analogous, triadic, etc.) and, if in scope, a gradient generator and accessibility/contrast checker.
- Implement export in the formats specified by {{must_have_features}} (CSS variables, JSON, SCSS, etc.).
- Note what is deferred from v1 and why.
Output format — A short v1 scope summary followed by complete, runnable HTML, CSS and JavaScript in labeled code blocks, commented at key logic points.
Guardrails — Do not claim WCAG compliance checking is included unless it is actually implemented with real contrast-ratio math. Keep color-naming or export features accurate to standard conventions rather than invented ones. Flag any feature deferred from v1 clearly.
Example — {{must_have_features}}: eyedropper, real-time format conversion, complementary/analogous palette generator, CSS variable export; {{target_users}}: UI designers and frontend developers; {{tech_constraints}}: vanilla JS, no build step.