← Zpět k funkcím
Free

Color Format Converter

Color Format Converter translates any color between HEX, RGB, HSL, HSV, and OKLCH. Pick a color with the native picker, type a hex value, paste any CSS color string, or adjust RGB sliders — every format updates live and each has its own Copy button.

Modern CSS gives you a dozen ways to write the same color: #7C3AED, rgb(124, 58, 237), hsl(262, 83%, 58%), oklch(55% 0.24 293), plus alpha variants of each. You often need to convert between them — a Figma design hands you an OKLCH, your codebase uses HEX, and your theme variables prefer HSL for hover tweaks. Color Format Converter does all conversions in one panel. Pick a color from the native color picker, paste an existing color in any syntax, or drag RGB sliders to dial one in. Every common format renders simultaneously: HEX (with alpha), rgb()/rgba(), hsl()/hsla(), hsv(), and oklch() — plus a CSS variable snippet and the computed luminance value for quick contrast math. Alpha channel is supported end-to-end. Each format has its own Copy button for one-click use, and the parser accepts native color names and everything CSS supports.

Živý náhled
example.com
Color Format Converter ✓ Parsed
#7C3AED
RGB Sliders
R
124 G
58 B
237
All Formats
HEX #7C3AED Copy RGB rgb(124, 58, 237) Copy HSL hsl(262.1, 83.3%, 57.8%) Copy HSV hsv(262.1, 75.5%, 92.9%) Copy OKLCH oklch(55.4% 0.242 293) Copy
Klíčové funkce

All Common Formats at Once

Shows HEX, RGB/RGBA, HSL/HSLA, HSV, and OKLCH simultaneously — pick whichever format your target code expects without re-converting each time.

Universal Color Input

Accepts HEX (#abc or #aabbcc or #aabbccff), rgb()/rgba(), hsl()/hsla(), oklch(), and native color names. Paste anything CSS supports.

OKLCH Support

Handles the new OKLCH format used in modern CSS — perceptually uniform color space that's becoming the new design-system default.

Per-Format Copy Buttons

Each output has its own Copy button. Click to grab exactly the format you need for your code, no manual selection required.

Live RGB Sliders

Adjust Red/Green/Blue/Alpha sliders for fine tuning. Every format updates in real time as you drag.

Alpha Channel Throughout

Transparency is handled across every format: #RRGGBBAA, rgba(...), hsla(...). Set once, converted everywhere.

Běžné případy použití

Design-to-Code Conversion

Figma hands you an OKLCH or HSL — paste it, copy the HEX equivalent for your Tailwind config or CSS variables without leaving the browser.

Building Color Palettes

Drag sliders to explore shades, noting the OKLCH values for a systematic design system palette.

Theme Variable Generation

Convert a brand color to its HSL form so you can use hsl(var(--brand-h) var(--brand-s) calc(var(--brand-l) + 10%)) for hover states.

Checking Luminance

The luminance field gives you the raw value used in WCAG contrast calculations — useful for a11y math.

Decoding Unknown Formats

Paste an oklch(...) from a CSS file you're reading and instantly see what color it actually produces.

Jak používat
1

Open Color Converter

Click the Color Formats icon in the DevSuite Pro dock. A panel opens with a color picker, hex input, and RGB sliders.

2

Pick or Paste a Color

Use the color picker, type a hex, or paste any CSS color string (rgb(...), oklch(...), etc.). The color previews instantly.

3

Review All Formats

Every format renders below: HEX, RGB, HSL, HSV, OKLCH, CSS variable, and luminance. All stay in sync as you adjust.

4

Tweak with Sliders

Drag R/G/B/A sliders for fine adjustments. Great for dialing in a specific shade that matches a design spec.

5

Copy What You Need

Click Copy on the format row you want — the value lands in your clipboard in the correct syntax.

Jste připraveni to zkusit? Color Format Converter?

Nainstalujte si DevSuite Pro zdarma a odemkněte 39+ vývojářských nástrojů pro svůj prohlížeč.

Přidat do Chromu Přidat do Edge Přidat do FireFoxu