🎨
🌐

Convert Colors for Web Design

Get HEX, RGB, and HSL values for any colour β€” ready to paste into CSS or Tailwind.

Hakuna kuingia kinachohitajika

Accepts: HEX (#fff or #ffffff), RGB (255, 255, 255), or HSL (360, 100%, 50%)

Presets:
HEX#14B8A6
RGBrgb(20, 184, 166)
HSLhsl(173, 80%, 40%)
HSVhsv(173, 89%, 72%)
CMYKcmyk(89%, 0%, 10%, 28%)
CSS RGB20, 184, 166

Lightness scale

Click any swatch to switch to that shade

Web Design tips

🌐

CSS supports all three formats: hex (#14b8a6), rgb(20, 184, 166), and hsl(174, 80%, 40%). Pick whichever matches your codebase conventions.

🎨

HSL is often easier to work with when building colour scales β€” just adjust the lightness (L) value to get lighter or darker shades.

πŸ’‘

Tailwind CSS uses HEX values in its config. Copy the HEX output and use it directly in tailwind.config.ts for custom colours.

πŸ–₯️

For CSS custom properties (variables), use the RGB triplet without rgb(): --color-primary: 20, 184, 166. Then reference with rgb(var(--color-primary)).

Jinsi Inavyofanya Kazi

1
Ingiza
Enter your data into the tool above. Everything stays local to your browser.
2
Chakata
The tool processes your data instantly in your browser using JavaScript. No server, no waiting.
3
Pakua
Get your result instantly. Nothing is stored after you leave the page β€” complete privacy.

Kwa nini utumie yetu?

βœ“Bure kabisa β€” bila gharama zilizofichwa, kamwe
βœ“Hakuna akaunti, barua pepe, au kuingia kinachohitajika
βœ“Faili hazitoki kwenye kifaa chako kamwe
βœ“Hakuna kikwazo cha ukubwa wa faili kabisa
βœ“Hakuna alama za maji kwenye matokeo yoyote

Also check out…

Maswali Yanayoulizwa Mara Kwa Mara