🎨

Color Picker

Pick colors and get HEX, RGB, HSL values

Color Formats

hex
#3B82F6
rgb
rgb(59, 130, 246)
rgba
rgba(59, 130, 246, 1)
hsl
hsl(217, 91%, 60%)
hsla
hsla(217, 91%, 60%, 1)

Color Palette

Frequently Asked Questions

What is the difference between HEX, RGB, and HSL color formats?

HEX uses a six-character hexadecimal code (e.g., #FF5733) and is the most common format in web development. RGB defines colors by their Red, Green, and Blue channel values from 0 to 255. HSL describes colors using Hue (0-360 degrees), Saturation (0-100%), and Lightness (0-100%), which many designers find more intuitive for creating color variations.

How do I find the exact color code from a design or website?

You can use this color picker tool to enter a known HEX code and instantly convert it to RGB, HSL, and other formats. For extracting colors from websites, most browsers have a built-in eyedropper in their developer tools that lets you sample any pixel on screen.

What are color shades and tints, and how are they generated?

Shades are created by adding black to a base color, making it darker, while tints are created by adding white, making it lighter. This tool automatically generates a full palette of shades and tints from your selected color, which is useful for building consistent UI color systems.

What does the alpha channel in RGBA and HSLA mean?

The alpha channel controls the opacity of a color, with values ranging from 0 (fully transparent) to 1 (fully opaque). RGBA and HSLA extend the standard RGB and HSL formats by adding this transparency parameter, which is essential for overlays, glass effects, and layered UI designs.

How do I choose accessible color combinations?

Accessible color combinations must meet WCAG contrast ratio guidelines: at least 4.5:1 for normal text and 3:1 for large text. When picking colors, pair light backgrounds with dark foregrounds (or vice versa) and test the contrast ratio using dedicated accessibility checking tools.