Color Converter & Picker

Convert colors between HEX, RGB, HSL. Get Tailwind suggestions and pick colors from your screen. Input a color value or use the pickers.

Input Color
Enter HEX, RGB(A), HSL(A), or CSS name.
Visual Picker
External Pickers
Conversions
Color representation in different formats.

Tailwind CSS

Uses exact HEX value. Finding closest named color is complex.

Preview
See color on light/dark background.

Preview Text (Light text suggested)
#0f172a

Color Palette
Collect colors you like.

Palette is empty.

About Color Converter & Picker

Color values rarely stay in one format. A designer hands you a HEX code, a CSS file wants RGB with an alpha channel, and a design system documents everything in HSL. This converter takes any of those inputs and shows the equivalent in every other format at once, so you never have to do the arithmetic by hand or hunt for a conversion table.

Beyond raw conversion, the tool surfaces the nearest Tailwind CSS color so you can map an arbitrary brand color onto the closest utility class instead of dropping arbitrary hex values that drift from your design tokens. An eyedropper lets you sample any pixel on screen — useful for matching a color from a screenshot, a logo, or a live page when you do not have the original source value.

Everything runs in your browser. Colors you paste or pick are never uploaded, which makes the tool safe for unreleased brand work and fast enough to use as a scratchpad while you iterate on a palette.

How to use Color Converter & Picker

  1. Enter a color

    Type or paste a HEX, RGB, or HSL value into the input, or use the eyedropper to sample a color from anywhere on your screen.

  2. Read every format

    The converted HEX, RGB, and HSL values update instantly, alongside the closest matching Tailwind CSS color class.

  3. Adjust with the picker

    Use the visual picker to nudge hue, saturation, or lightness and watch all formats stay in sync.

  4. Copy and use

    Copy the format you need straight into your CSS, design file, or component code.

Frequently asked questions