From no palette to a shipped one, on your own landing page

Recolor for indie hackers

Recolor (recolor.page) is a quick way for an indie maker to pick a color palette for a landing page: load the page by its address, or start on Recolor's own landing page sample, press Space until a palette works, check that the text stays readable, and paste the Tailwind v4 @theme block or the CSS variables into your code. It is free with no account, and the routine below takes about ten minutes.

Last updated

A routine with Recolor's features as built, checked October 9, 2026
MinutesStep
0 to 1Paste your landing page's address, or use the landing sample
1 to 5Press Space; lock the colors you like with L; drag the one you want on buttons to the front
5 to 7Check the black and white badges on each swatch and click through to your pricing page
7 to 9Export the Tailwind v4 @theme block or the CSS variables
9 to 10Copy a share page link and ask for opinions

The ten-minute routine

  1. Load your landing page by its address. Running on localhost? Save the page as HTML and upload it, with your dev server's address as the asset base, as Loading a page explains.
  2. Press Space. Each press is a new palette of 2 to 10 colors on your real hero, buttons and cards. When a color is right, press L on it to lock it; Cmd+Z or Ctrl+Z goes back.
  3. Drag the color you want for buttons and links to the front: the first color that is neither the lightest nor the darkest takes the page's main color, while those two take its background and text.
  4. Look at the badges under each swatch: a check means black or white text reaches WCAG AA on it, and Recolor keeps your page's own text readable as the colors move.
  5. Click a link in the preview, your pricing or docs page, to see the palette there too.

Starting from nothing

No page yet? Recolor opens on a landing page sample, with a hero, a feature grid and a pricing table, so the routine works before you have a site. For a head start, the 100 named palettes each open on that sample, and examples shows each of the three samples in five of them. How many colors a website palette needs answers how many to keep: most landing pages need fewer than they think.

Into your code

Open Export. The Tailwind tab gives a v4 @theme block; paste it into your main CSS file and the colors become utilities such as bg-primary and text-2:

CSS
@theme {
  --color-1: #ffa778;
  --color-2: #006686;
  --color-3: #ffe4cd;
  --color-4: #101b1f;
  --color-5: #d75e1f;
  --color-primary: #ffa778;
  --color-secondary: #006686;
  --color-accent: #ffe4cd;
}

The CSS tab gives the same palette as plain variables, and SCSS and JSON are beside it; every format is on Export formats, and Tailwind v4 @theme colors shows how the block works, dark mode included.

Choosing between two finalists

Most routines end with two palettes you like. Save both with Save current in Saved palettes, then switch between them with a click while you look at the same section, the hero first, then the pricing table. Look at the main button: it should be the strongest thing on the page, and its text should pass, which the badge on its swatch tells you. Then look at the page from a distance, or with Grey images on in the Mapping panel, so your screenshots do not decide for you. The palette that keeps your call to action the clearest is usually the one to ship, and Black or white text on a color explains the contrast rule behind the badge.

Getting a second opinion

Export's Share group has two links. Share page makes a public page of the palette, with its names, hex codes, contrast and code, and a button that opens your page in it: good for a post asking which palette works. Link to this view opens Recolor on your page in the palette. Anyone can open either without an account; the share page names the host it was made on, as the URL format explains.

What it will not do

Recolor changes colors only. Fonts, spacing and layout stay as they are, and a logo or a screenshot in your hero keeps its colors, since images are images. It also will not write the colors into your code for you: the export is text you paste.

Common questions

Do I need a palette to start?

No. Press Space and Recolor generates one; the named palettes are there if you want a starting point.

Can I use it before my site is live?

Yes. Save the page from your dev server as HTML and upload it, with the dev server's address as the asset base.

Does it export Tailwind v4?

Yes. The Tailwind tab writes an @theme block with each color as a variable, plus primary, secondary and accent.

Will my text stay readable?

Yes, in most cases: Recolor keeps text at least as readable as your page had it, up to WCAG AA, and marks which ink passes on each swatch.

Is it free?

Yes. Every feature is free with no account.

Can I share a palette to ask for feedback?

Yes. Share page gives a public link with the palette's names, hex codes and code, and a button that opens your page in it.