Utvikling · verktøy

Fargepalettgenerator

Oppgi en grunnfarge i hex-format, og lag en liten palett med vanlige fargerelasjoner.

Kjøres i nettleseren. Ingen opplasting.

Values are processed locally in this browser.

Result

—

Om verktøyet

Fargepalettgenerator sem complicação.

Genererte paletter er visuelle utgangspunkt, ikke en garanti for tilgjengelighet. Kontroller hver kombinasjon av forgrunns- og bakgrunnsfarge med kontrastkontrollen.

Veiledning

Slik bruker du Fargepalettgenerator

Type one starting colour as a hex code and this page returns two or three matching colours, also as hex codes. You choose a style: complementary gives one partner colour, analogous gives two neighbours, and triadic gives two colours spaced evenly around the colour wheel. Designers, students and anyone picking colours for a slide or a website can use it as a first draft. It shows text codes only, with no swatches, and it does not test whether colours are easy to read together.

Slik gjør du

  1. Type your starting colour in the Base colour box. Use three or six hex digits, such as #4F46E5 or #fff. The # sign is optional.
  2. Open the Palette style list and choose Complementary, Analogous or Triadic.
  3. Press Calculate. The result lists your own colour first, then the new ones, each as a hex code.
  4. Copy the codes into your design tool or style sheet. Press Clear to empty the fields.

Eksempler

Complementary partner for an indigo blue

Du skriver inn
Grunnfarge
#4F46E5
Palettstil
complementary
Du får
Resultat
Complementary palette #4F46E5 #DCE546 Check text/background contrast before use.

The blue sits near 243 degrees on the colour wheel. Adding 180 degrees gives about 63 degrees, a yellow-green. A separate conversion gave the same codes.

Kjørt med verktøyets egen kode.

Analogous neighbours

Du skriver inn
Grunnfarge
#4F46E5
Palettstil
analogous
Du får
Resultat
Analogous palette #4F46E5 #9F46E5 #468CE5 Check text/background contrast before use.

The tool moves the hue 30 degrees one way and 30 degrees the other way, which gives a purple and a lighter blue. A separate conversion gave the same codes.

Kjørt med verktøyets egen kode.

Triadic set from pure red

Du skriver inn
Grunnfarge
#FF0000
Palettstil
triadic
Du får
Resultat
Triadic palette #FF0000 #00FF00 #0000FF Check text/background contrast before use.

Pure red moved 120 and 240 degrees gives pure green and pure blue. The last line is a reminder the tool always adds.

Kjørt med verktøyets egen kode.

Grey has no partner colour

Du skriver inn
Grunnfarge
#808080
Palettstil
complementary
Du får
Resultat
Complementary palette #808080 #808080 Check text/background contrast before use.

Grey has no colour in it, so turning the wheel changes nothing. Every result repeats the starting grey. The same happens with white or black.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • A student builds a first colour set for a school poster or slide deck.
  • A website owner looks for one accent colour to go with a brand colour.
  • A designer wants quick hex codes to paste into a mood board or style sheet.
  • A teacher shows how hue steps around the wheel make complementary and triadic sets.
  • A hobbyist picks matching colours for a logo draft or a social media banner.

Begrensninger

  • Only 3-digit and 6-digit hex codes are accepted. Names such as red, and formats such as rgb(), are rejected with an error message.
  • The tool changes the hue only. Lightness and saturation stay the same as your starting colour, so every colour in the set has the same strength.
  • The result is text. There are no colour swatches and no download, so you cannot see the palette on the page.
  • The tool does not check contrast. Check any text and background pair yourself before you use it.

Tips

  • Try all three styles with the same base colour and keep the one that suits your project.
  • Pick a base with some saturation. Greys, black and white return the same colour again.
  • Use one colour of the set for large areas and another only as a small accent.
  • Test every text and background pair with a contrast checker before you publish.

Kilder

Vanlige spørsmål

Sobre Fargepalettgenerator.

What is a complementary colour?

It is the colour directly opposite yours on the colour wheel, 180 degrees away in hue. This tool keeps the lightness and saturation of your colour and only turns the hue, as described in the MDN guide to hsl().

What is the difference between analogous and triadic?

Analogous colours sit next to yours, 30 degrees either side, so they look calm and close. Triadic colours are spaced 120 degrees apart, so the three look bolder and more varied.

Why does the first colour in the result look like mine?

The first code is your own colour, written back in capital letters with six digits. A short code such as #fff becomes #FFFFFF. This lets you keep the whole set in one list.

Does the tool make sure the colours are easy to read together?

No. It only moves the hue. Readability depends on the lightness difference between text and background, so use a contrast checker. WCAG asks for at least 4.5 to 1 for normal text at level AA.

Can I type a colour name or an rgb value?

No. The box accepts only a hex code with three or six digits, with or without the # sign. Convert other formats to hex first, or the tool will show an error asking for a hex colour.

Why do I get the same colour back when I use grey?

Grey, black and white have no hue. Turning the hue changes nothing, so the partner colours come out identical. Choose a colour with some tint if you want a real palette.

How many colours will I get?

Complementary gives two colours, analogous gives three and triadic gives three. Your own colour counts as the first one in each list.

Are my colours saved or sent anywhere?

No. The hex maths runs in your browser and nothing you type is uploaded. The page also does not store your colour, so copy the codes before you leave.

Why might my result differ a little from another palette site?

Sites use different colour models and rounding. This tool turns your hex code into hue, saturation and lightness, rotates the hue, and rounds each channel back to a whole number, so a code can differ by a step.

Hvordan bruker du Fargepalettgenerator?

Oppgi en grunnfarge i hex-format, og lag en liten palett med vanlige fargerelasjoner.

Lastes dataene mine opp til en server?

Nei. Behandlingen skjer i nettleseren din, og opplysningene dine lastes ikke opp.