Create a color palette
“Create a color palette for my [type of app] using a [mood/vibe] feel. Include primary, secondary, accent, background, and text colors as CSS variables. Give me both light and dark mode versions.”
Free AI prompt · The Design Book
A ready-to-use prompt from the chapter Colors. Paste it into Claude, ChatGPT, Lovable, Bolt or any AI coding tool.
“Review my color choices for accessibility. Make sure all text has at least 4.5:1 contrast against its background. Suggest fixes for any colors that fail, keeping the same general vibe.”
“Create a color palette for my [type of app] using a [mood/vibe] feel. Include primary, secondary, accent, background, and text colors as CSS variables. Give me both light and dark mode versions.”
“Add a consistent color system to my app. Use [primary color] as the brand color and generate complementary colors for backgrounds, borders, text, and hover states. Define them as CSS variables so I can change them in one place.”
“Update my site to use this design system. Colors: Primary [#hex], Secondary [#hex], Background [#hex], Text [#hex], Accent [#hex]. Fonts: Headings [font name] bold, Body [font name] regular. Apply these consistently across all components (buttons, links, headings, card backgrounds, borders, and hover states). Make sure there's enough contrast for readability.”
“I'm uploading a screenshot of a website design I like. Please recreate this layout and visual style for my [type of project]. Use my color palette: Primary [#hex], Secondary [#hex], Background [#hex]. Use [font name] for headings and [font name] for body text. Match the spacing, typography hierarchy, and overall feel as closely as possible. Build it with Next.js and Tailwind CSS.”
“I'm uploading a UI design I created in Google Stitch. Please recreate this exact design as a working website. Use my color palette: Primary [#hex], Secondary [#hex], Background [#hex]. Match the layout, fonts, spacing, and component styles as closely as possible. Build it with Next.js and Tailwind CSS.”
“Add more breathing room between sections. Use at least 80px padding between major sections, 24px padding inside cards, 16px gaps in grids.”