Skip to content
FAQ

Frequently asked questions

Everything about the generator, WCAG scores, AI prompts, and how ihatecolors works.

The Generator

How does the palette generator work?
ihatecolors generates palettes using color theory math in the HSL color model. Each mood maps to specific hue ranges, saturation bounds, and lightness distributions. We apply one of five classical harmony rules (complementary, analogous, triadic, split-complementary, or tetradic), then score the result by contrast spread, lightness variance, and harmony quality. If a generated palette scores below our threshold, we retry until it passes.
What does "locking" a color do?
Clicking the lock icon on a color slot preserves that hex value across randomizations. The generator rebuilds the palette around your locked colors — the harmony rule is applied using the locked hues as anchors. You can lock any combination of the four slots.
Does pressing Space really randomize?
Yes. The generator listens for the spacebar globally on the /generator page, as long as you're not focused on a text input. It's the fastest way to iterate — no mouse required.
Can I save generated palettes?
Click the heart on any palette to save it. Saved palettes live in your own browser (localStorage) — there are no accounts and nothing is sent to our servers. The device you saved them on is the only place they exist, so clearing browser data will remove them.

WCAG & Accessibility

What is a WCAG score?
WCAG (Web Content Accessibility Guidelines) defines minimum contrast ratios for readable text. AAA means a contrast ratio of 7:1 or higher — the strictest level. AA means 4.5:1 or higher — the baseline for most compliance requirements. "Fail" means the contrast is below 4.5:1 and the color pair should not be used for body text. The generator shows three pairs: background vs text, background vs accent, and accent vs text.
Can a palette fail WCAG and still be usable?
Yes. WCAG scores only apply to text-on-background contrast. A neon palette with Fail scores on some pairs is fine for decorative use, illustration, or design elements that don't contain text. Use good judgment: match your contrast to your use case.
Does ihatecolors guarantee accessible palettes?
No. We show you the WCAG grades so you can make an informed decision — we don't filter out low-contrast palettes. Some moods (Night, Neon) intentionally produce dramatic combinations that don't meet body text standards. Check the scores before using any palette for an accessibility-sensitive project.

AI Prompts

What is the AI prompt for?
Each palette comes with a structured prompt you can paste into Claude, ChatGPT, Midjourney, or Stable Diffusion. It specifies the hex values for each UI role (background, primary accent, secondary, body text) and includes a mood and emotional context sentence. AI tools respond better to structured color instructions than vague mood words.
Why are there different prompt formats for different tools?
Each AI tool parses color instructions differently. Midjourney appends style flags like --style raw to prevent it from overriding your palette. ChatGPT gets an explicit instruction to use the hex values consistently. Claude and Stable Diffusion get the base prompt without modification. Toggle between tools in the generator to see the formatted version before copying.

Explore & Community

How do I browse palettes?
The Explore page at /explore lists the whole library. Use the mood filter pills to filter by category, the season and use case dropdowns for more specific filtering, the hex box to find palettes near a color you already have, and the sort control to order by newest or by name. There is no 'most saved' or 'trending' sort, because saves and copies are not tracked.
Can I submit my own palette?
Yes — the upload page at /create/ saves a 4–5 color set with optional mood tags and a name. Submissions are stored as unapproved and are never published automatically: a palette only reaches the library if we add it by hand. Many submissions are not published, and we can't promise a timeframe or a reply.
Do you track how many times a palette is saved or copied?
No. Saving a palette stores it in your own browser, and copying a hex value only writes to your clipboard — neither action is sent to us. Because nothing is measured, the site displays no save or copy counts and offers no popularity ranking. Any number there in the past was not real usage data.

Technical

What tech stack does ihatecolors use?
ihatecolors is built on Astro with React islands for interactive components. The color generation engine is pure TypeScript with no runtime dependencies — all HSL math is implemented from scratch. Palette data is stored in Supabase. Styling uses Tailwind plus CSS custom properties.
Why Astro instead of Next.js?
Most of ihatecolors is static — palette detail pages, the color theory guide, the home page. Astro renders these as static HTML at build time, with React hydrated only where interaction is needed (the generator, the filter bar). This results in faster page loads and better Core Web Vitals for the content-heavy pages that get indexed.
Does the generator require a server?
No. The entire generation engine runs client-side in the browser. There are no API calls for color generation — all HSL math, harmony rule selection, and scoring happens locally. Supabase calls happen only for saving and fetching palettes.

Still have questions?

Check the color theory guide or jump into the generator and experiment.