Guides
Guides to website color palettes
How-tos for trying a color palette on a real web page with Recolor (recolor.page): preview, contrast, lightness, OKLCH, and turning a palette into code.
Last updated
Guides
- Guides
How to preview a color palette on a real website
Three ways to preview a color palette on a website: load the real page into Recolor, use a template previewer, or edit CSS variables in developer tools. - Guides
Test a palette on your own site before a redesign
How to test a color palette on your own website before a redesign: load it by address or as HTML, press Space through palettes, check each page, share the link. - Guides
How to recolor a website with CSS variables
Change a website's colors with CSS custom properties: define each color once, use var() everywhere, swap the values. The code, and what variables miss. - Guides
Turn a Coolors palette into CSS variables, a Tailwind v4 @theme block or SCSS
Turn a Coolors palette into CSS variables, a Tailwind v4 @theme block or SCSS: open its link in Recolor, press Export, copy. With the exact output. - Guides
Tailwind v4 @theme colors from a palette
How Tailwind v4 colors work: every --color-* variable in @theme becomes a utility color. A palette as a block, OKLCH, --color-*: initial and dark mode. - Guides
How many colors a website palette needs, and which goes where
A website palette needs a main color, one or two accents and neutrals: three to five colors you choose. The 60-30-10 split, roles, and what real sites use. - Guides
Keep text readable when you swap a palette: why a dark hero stays dark
Make a color palette accessible by keeping text and background far apart in lightness: 4.5:1 for text, 3:1 for large text. Why hue barely matters, worked out. - Guides
Black or white text on a color
Black or white text on a color: use black when the background's relative luminance is above 0.179, white below. Twelve colors computed, and the 4.5:1 rule. - Guides
What OKLCH is and why palette tools moved to it
OKLCH writes a color as lightness, chroma and hue on the Oklab space, so equal steps look equal. How it works in CSS, why it beats HSL, and its gamut limits. - Guides
Pantone's Color of the Year 2026 on a website
Pantone's Color of the Year 2026 is Cloud Dancer, PANTONE 11-4201; its pages paint it #f0eee9. Its contrast, a palette around it, and the paint brands' picks.
By platform
- Guides
How to preview a color palette on a Webflow site
Test new colors on a Webflow site: paste its address or .webflow.io staging address into Recolor and press Space. Password pages, and back into variables. - Guides
How to preview a color palette on a Shopify store
Preview new colors on a Shopify store: paste its address into Recolor and press Space. What repaints, private stores, and setting the theme's color schemes. - Guides
How to preview a color palette on a WordPress site
Preview a color palette on a WordPress site: paste its address into Recolor and press Space. Local and private sites, and the palette into Styles or theme.json. - Guides
How to preview a color palette on a Squarespace site
Test new colors on a Squarespace site without touching it: load the published address into Recolor. What repaints, trial and private sites, and Site styles. - Guides
How to preview a color palette on a Framer site
Try new colors on a Framer site: paste its published or framer.website address into Recolor and press Space. Passwords, and the colors into color styles. - Guides
How to preview a color palette on a Wix site
Previewing new colors on a Wix site: what Recolor repaints on Wix today, and how to change theme colors in the Wix Editor, Wix Studio and Wix Harmony. - Guides
How to preview a color palette on an Astro site
Paste an Astro site's address into Recolor and press Space: the built site repaints live, scoped styles too. Then put the colors in your global CSS. - Guides
How to preview a color palette on a VitePress site
Paste a VitePress site's address into Recolor and press Space to try brand colors live, then set --vp-c-brand-1 to -3 in .vitepress/theme/custom.css. - Guides
How to preview a color palette on a MediaWiki wiki
Paste a wiki page's address into Recolor and press Space: the skin repaints live. Then write the colors you keep into MediaWiki:Common.css.
Recolor for your role
- Recolor for
Recolor for web designers
Recolor lets web designers show a client their own website in new palettes, live, before a mockup: paste the address, press Space, share a link. - Recolor for
Recolor for front-end developers
Recolor is a palette tool for front-end developers: try a palette on your real page or build, then export CSS variables, a Tailwind v4 @theme block or JSON. - Recolor for
Recolor for brand designers
Test new brand colors on the live website before a rebrand: the brand color takes over everywhere the old one was, shades included, and text stays readable. - Recolor for
Recolor for agencies
Recolor lets an agency show a client their own website in three palettes, live, and send each as a link or a share page in the proposal. Free, no account. - Recolor for
Recolor for no-code builders
Recolor repaints a site built with Webflow, Framer, Wix, Squarespace, Shopify or WordPress in any palette, live, by its address. Tested on each builder. - Recolor for
Recolor for indie hackers
Recolor takes an indie maker from no palette to one that works on their own landing page: generate, see it live, check contrast, export Tailwind v4. Free.
Examples
Choose a palette
Change a site's colors
- Guides
How to find the hex color of a website
Find a website's hex colors: load it in Recolor for every color with its hex code, or pick one with the Color Picker in Chrome or Firefox DevTools. - Guides
How to change website colors without coding
Change a site's colors without code: try palettes on the real site in Recolor, then type the hex codes into Webflow, Shopify, WordPress or another builder. - Guides
How to change a website's colors in Chrome DevTools
Change a site's colors in Chrome DevTools with the Color Picker and its CSS variables, keep the changes with local overrides, or try whole palettes in Recolor. - Guides
How to change a website's colors on a phone
Change a website's colors on a phone: load it in Recolor in the phone's browser and tap Generate. What Safari, Firefox and Chrome offer for extensions. - Guides
How to try a holiday color scheme on your website
Try a holiday color scheme on your site or store: load it in Recolor, start from a seasonal palette or lock your brand color, and see it live first.
Theme a framework
- Guides
How to change shadcn/ui theme colors
Two selectors in app/globals.css, :root and .dark, hold shadcn/ui's --primary, --background and --accent tokens; any CSS color works there, hex included. - Guides
How to change Bootstrap theme colors
Bootstrap 5.3: set $primary before its Sass imports, or override --bs-primary, --bs-primary-rgb and the .btn-primary variables in plain CSS. - Guides
How to make a daisyUI theme from a palette
20 color variables make a daisyUI 5 theme: primary, secondary, accent, neutral, four base colors and four status colors, most with a -content text color. - Guides
How to change Material UI theme colors
Material UI v9: set palette.primary.main and palette.secondary.main in createTheme, wrap the app in ThemeProvider; light, dark and contrastText are calculated. - Guides
How to change Docusaurus theme colors
Set --ifm-color-primary and its six shades in src/css/custom.css, as Docusaurus 3.10.2 documents, after trying the palette on your deployed docs in Recolor. - Guides
How to change Material for MkDocs colors
Set primary and accent under theme.palette in mkdocs.yml, or set them to custom and give --md-primary-fg-color your own hex in an extra stylesheet. - Guides
How to change Ghost theme colors
Set the Accent color under Settings, Design & branding; Ghost writes it as --ghost-accent-color, which its Source and Casper themes read. - Guides
How to change Elementor global colors
In the Elementor editor, open Site Settings, then the global colors: click a swatch of Primary, Secondary, Text or Accent, pick a color and Save Changes. - Guides
How to set a color palette in theme.json
In theme.json version 3, each color in settings.color.palette takes a slug, a name and a color; WordPress makes --wp--preset--color--{slug} from each.