What is the difference between HEX, RGB and HSL?
They describe the same colour in different ways: HEX is a 6-character code, RGB gives red, green and blue values from 0–255, and HSL gives hue, saturation and lightness.
Pick any colour and get its HEX, RGB and HSL codes instantly. Free online colour picker for designers and developers — runs in your browser.
Matching your brand colours across a website, product listing images, social posts and printed packaging means having the exact colour code every time. DrToolLab's colour picker lets you choose any colour visually and instantly shows its HEX, RGB and HSL values, ready to copy into CSS, Canva, Photoshop or your store theme settings. HEX codes like #0284C7 are used in web design and most design tools, RGB values describe the red, green and blue light mix, and HSL (hue, saturation, lightness) makes it easy to create lighter or darker shades of the same colour. Designers use the tool to build palettes, developers use it to convert colours between formats, and sellers use it to keep their brand look consistent. Everything runs in your browser with nothing to install. If you need colours taken from a photo, try the colour palette extractor in the image tools.
Enter your details or choose your settings.
The Color Picker updates the result as you change them.
Copy, download or save the result.
Private by design. Everything is generated in your browser. What you enter is never sent to a server or stored.
They describe the same colour in different ways: HEX is a 6-character code, RGB gives red, green and blue values from 0–255, and HSL gives hue, saturation and lightness.
Copy the HEX value (for example #0284C7) or the rgb()/hsl() value and paste it into your CSS color or background property.
Use the Color Palette Extractor in the image tools to pull the main colours from any photo.
Yes. The colour picker works in mobile browsers as well as on desktop.