Complete AI Training

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

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

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

  1. Ask for any missing inputs before starting, especially which features from the original list belong in v1.
  2. Design the selection interface (eyedropper, wheel, sliders, input fields) suited to {{target_users}}.
  3. Implement real-time conversion between the color formats needed (RGB, HSL, HEX, CMYK, etc.) with copy-to-clipboard.
  4. Implement the palette generator (complementary, analogous, triadic, etc.) and, if in scope, a gradient generator and accessibility/contrast checker.
  5. Implement export in the formats specified by {{must_have_features}} (CSS variables, JSON, SCSS, etc.).
  6. 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.