Local-first tools. Your files and text stay in your browser.

Color & Design

Color Converter

Translate a color between the three formats used most in CSS and design tools. Enter HEX, RGB or HSL and get all equivalents with a preview, so you can paste the exact value you need.

Local processing
Color converter Runs in your browser

HEX accepts #RGB and #RRGGBB. RGB takes 0–255 per channel; HSL takes H 0–360 and S/L 0–100. Alpha is not supported.

Preview

No valid color

Equivalent values
HEX —
RGB —
HSL —

How it works

  1. Choose the input format: HEX, RGB or HSL.
  2. Enter the value. Ranges are validated instead of silently clamped.
  3. Copy any output format. The preview updates only when the value is valid.

Supported input and limits

InputHEX, RGB, HSL
OutputHEX, RGB, HSL, Color preview
Size limit Not applicable
OfflineVerified after the page and its script are cached
  • No alpha channel support in this version.
  • RGB and HSL values are displayed as integers.
  • Conversion accuracy is within one channel value due to rounding.

Privacy

This tool runs entirely in your browser. Your input is processed in memory and is not uploaded, logged or stored by TinkerFern. There is no account, no server-side processing and no analytics payload containing your content.

Client-side processing reduces data transfer, but it does not protect against bugs in your browser or in a file you choose to open. Keep backups of important files.

Frequently asked questions

Does the converter accept three-digit HEX?

Yes. Shorthand such as #0af is expanded to #00AAFF. Six-digit HEX is displayed in uppercase for consistency. Eight-digit alpha HEX is not supported in this version.

Why do converted values differ by one?

HSL uses integer degrees and percentages while RGB uses integer channels, so conversions can round by one channel. Round-tripping RGB to HSL and back stays within ±1 per channel.

Are invalid values clamped?

No. Values outside 0–255 for RGB or 0–100 for HSL percentages produce an inline error rather than a silently altered color.

Continue with a task that often follows this one.

All tools →