Colore JS

Search documentation

Find a function or jump to a section.
v2.0.1

Color palette generator

Type a hex color to get its 50–950 scale, or explore 34 named scales. Pick any shade to copy its values or save it to a palette.

0 shades in My palette
Base color

Use the left and right arrows, Home, and End to select a shade.

Reds & yellows

Brick

#A13F3C

Red

#DC2626

Vermilion

#D64A32

Terracotta

#BD6047

Ochre

#C4862F

Saffron

#E5C24B

Greens

Olive

#758047

Fern

#58824E

Pine

#2D5B4C

Mint

#64C7AA

Jade

#1F9B76

Juniper

#2D7C6D

Cyans & blues

Lagoon

#287E8A

Cerulean

#208FBB

Sky

#62A7D1

Navy

#273857

Cobalt

#365CBA

Sapphire

#38478C

Violets & pinks

Indigo

#635CCA

Iris

#7F65AE

Lilac

#AF91D6

Orchid

#B652A1

Mulberry

#7F205E

Burgundy

#78324E

Rose

#C55778

Browns

Chestnut

#A36644

Walnut

#754A30

Espresso

#482F29

Neutrals

Ink

#20252F

Graphite

#41444A

Pewter

#737984

Stone

#91877D

Sand

#AC9984

Porcelain

#E5DED0
Burgundy
Shade 600Base color
#78324E
Hex
#78324E
RGB
rgb(120 50 78)
OKLCH
oklch(0.42207 0.10282 357.35)
OKLab
oklab(0.42207 0.10271 -0.00475)
Palette
Preview in Playground

Saved palettes

My palette

Colors

0 saved colors

Export preview

Add colors to preview the export.

Export format

Delete palette?

Delete My palette.

How the scales are made

Each scale has eleven steps named 50 to 950, the shade names Tailwind CSS uses. Colore's palette function builds them in OKLCH and places your color at the step closest to its lightness, so the hex you typed stays in the scale unchanged.

Save shades to a palette under My palettes and download it as CSS variables, a Tailwind CSS v4 @theme block or DTCG design tokens.

Install
npm install colore-js
Generate this scale in code
import { palette } from 'colore-js/fn';

const shades = palette('#78324e');
Tailwind CSS v4 @theme for Burgundy
@theme {
  --color-burgundy-50: #fbf3f5;
  --color-burgundy-100: #f6e2e8;
  --color-burgundy-200: #efc8d4;
  --color-burgundy-300: #e5a1b8;
  --color-burgundy-400: #cb7d99;
  --color-burgundy-500: #a15672;
  --color-burgundy-600: #78324e;
  --color-burgundy-700: #642840;
  --color-burgundy-800: #3f1727;
  --color-burgundy-900: #2a0d18;
  --color-burgundy-950: #110307;
}