TXT · Text & Data tools

Color Converter

Input format
Output format
Export mode
Active color#000000
Auto-detect Input
Hex Output
1Active Line0Valid Items

Supported formats

Pick specific input and output formats or set the input to Auto-detect to paste a mix of values. The converter natively handles HEX, RGB, HSL, HWB, CMYK, and CSS named colors. Use the swap button to instantly flip your conversion direction.

Batch palettes

Turn on Batch to process multiple colors simultaneously by pasting one per line. The active line tracks your cursor position, syncing the selected item with the Active color picker so you can make manual adjustments inline.

Export modes

Switch the Export mode to copy the batch output as structured code instead of plain text. The tool generates raw JSON arrays, ready-to-use CSS custom properties, or JavaScript array literals, saving you from formatting them by hand.

Frequently Asked Questions

HEX, RGB, HSL, HWB, HSV, CMYK, CIELAB, LCH, OKLab, OKLCH, and CSS named colors. Input can be auto-detected, so you can paste mixed formats and convert them all to one target.

Yes. Turn on Batch and put one color per line. Each line is detected and converted independently.

Yes. Besides raw text, you can copy the results as JSON, as CSS custom properties, or as a JavaScript array.

Yes. Alpha is preserved when both formats support it, for example rgba and 8-digit hex.

No.

Looking for a faster, single-purpose workflow?

More Like This

Explore Our Tools

Browse all tools