X
๐ŸŽจ

Color Picker, Gradient & Palette

Pick a colour and copy HEX / RGB / HSL, build CSS gradients, and generate matching palettes.

HEX#5E8BFF
RGBrgb(94, 139, 255)
HSLhsl(223, 100%, 68%)

A free color picker, gradient maker and palette generator in one place

Choosing colours is one of those small jobs that turns into a hunt across half a dozen websites โ€” one to read a HEX code, another to convert it to RGB, a third to build a gradient. This Color Picker brings all three jobs together. You pick a colour and instantly see its HEX, RGB and HSL values ready to copy, switch to the Gradient tab to build paste-ready CSS, or jump to the Palette tab to spin one base colour into a set of shades that actually belong together. No accounts, no installs, no watermarks.

It is built for the people who reach for colour values all day: front-end developers writing CSS, UI and product designers, brand and social-media creators, and hobbyists tinkering with a theme. Because the whole tool runs inside your browser, it works the moment the page loads and keeps working even if your connection drops mid-task โ€” handy when you just need one quick HEX code without breaking your flow.

How to use it

  1. On the Picker tab, drag inside the colour box or paste a HEX code into the text field to set your colour.
  2. Read the live HEX, RGB and HSL values and tap Copy on whichever format you need.
  3. Click a preset swatch for a quick common colour, or use Pick from image to upload a photo and tap anywhere on it to grab that exact pixel's colour. On supported browsers, Pick from screen lets you eyedrop a colour from anywhere on your display.
  4. Switch to the Gradient tab to choose linear or radial, set two colour stops and an angle, then copy the generated background rule.
  5. Open the Palette tab, pick a base colour and a harmony type, and tap any swatch to copy its HEX.

HEX, RGB and HSL โ€” which one should you use?

All three describe the same colour, just in different shorthand. HEX (such as #5E8BFF) is the compact six-character form most designers paste into CSS and design apps. RGB spells out how much red, green and blue mix together on a 0โ€“255 scale, which is useful when you need to nudge one channel or work with code that expects separate numbers. HSL describes a colour by hue, saturation and lightness, and it is the friendliest format for editing by eye: keep the hue fixed and lower the lightness to get a darker version of the same colour, or drop the saturation to mute it. This tool shows all three at once so you can copy whichever your project expects without doing any maths yourself.

Building gradients and palettes that look balanced

A CSS gradient is just a smooth blend between two or more colour stops. On the Gradient tab, a linear gradient runs in a straight line at the angle you set, while a radial one spreads outward from the centre like a soft spotlight. Moving each stop's position changes where one colour gives way to the next, so a hard 0%/100% split looks bold and a 30%/70% split looks softer. The Palette tab uses colour-wheel harmony to suggest combinations that sit well together: complementary pairs a colour with its opposite for high contrast, analogous picks neighbours for a calm, related look, triadic and tetradic space three or four colours evenly for variety, and monochromatic stays on one hue and walks through lighter and darker shades. Starting from harmony like this is the quickest way to avoid clashing combinations.

Accessibility and contrast โ€” a quick note

Picking a colour you like is only half the job; text and buttons also need enough contrast to stay readable. As a rule of thumb, pair light text with a dark background or dark text with a light one, and be cautious with mid-tone colours behind small text. The HSL lightness value shown here is a handy guide โ€” two colours with very close lightness will look low-contrast against each other no matter how different their hues are. When a design has to meet accessibility standards, confirm the final pair against a dedicated WCAG contrast check before shipping.

Your colours stay on your device

Everything happens locally in your browser. Colour values are calculated with JavaScript on your machine, and when you use Pick from image the photo is read straight into a canvas in the page โ€” it is never uploaded to a server or stored anywhere. Nothing about your colours, images or palettes leaves your device, and there is no sign-up, so you can use the tool as often as you like without leaving a trail.

โ“

FAQ

How do I copy a colour code?

Pick a colour on the Picker tab, then tap Copy next to the HEX, RGB or HSL value to send that exact code to your clipboard. You can also tap any swatch in the Palette tab to copy its HEX directly.

Can I create a CSS gradient I can paste straight into my code?

Yes. Open the Gradient tab, choose linear or radial, set your two colour stops and the angle, then copy the generated background line. It is a complete CSS rule, so you can paste it into your stylesheet as-is.

What is the difference between complementary, analogous and triadic palettes?

They are colour-wheel harmonies. Complementary uses two opposite colours for strong contrast, analogous uses neighbouring colours for a calm related look, and triadic spaces three colours evenly for a balanced but varied scheme. Pick a base colour and try each one to see which fits your design.

Can I grab a colour from a photo or from my screen?

Yes. Use Pick from image to upload a photo, then tap anywhere on it to read that pixel's colour. On browsers that support the EyeDropper API, a Pick from screen button also appears so you can sample a colour from anywhere on your display.

Are my colours and images uploaded anywhere?

No. The tool runs entirely in your browser. Colour conversions are calculated on your device and any image you load is read locally โ€” nothing is sent to a server or saved, and there is no sign-up.

Is the Color Picker free and does it work on mobile?

It is completely free with no limits, and it works on phones, tablets and desktop. On a touchscreen you simply tap to pick colours, copy values and choose palettes the same way you would with a mouse.

โœจ

More tools