RGB to HEX - one code, ready to paste

Enter R, G, and B (0-255) or use the picker. You get HEX, a swatch, and a copy-ready bundle. Runs in your browser; no signup.

RGB to HEX - convert and copy

Turn R, G, B (0-255) into a clean HEX code with a live swatch. Use it when you only have channel numbers.

1 Enter R, G, and B · 2 Use samples or the picker · 3 Check the preview · 4 Copy results

Your result

Example 37, 99, 235. Samples and the picker snap the inputs. Flip to HEX → RGB anytime.

Quick samples

Updates live as you edit.

HEX and the copy block update as you go.

Next: HEX → RGB · HEX → HSL · Contrast · Color converter · All tools

  • Runs on your device, not our servers
  • Nothing leaves this tab unless you copy it
  • Free and fast
  • No account
  • Same privacy approach as the rest of ProToolbox

When to use it

Spreadsheets, APIs, and old docs often give three numbers. This turns them into #RRGGBB you can paste into CSS, tokens, or a handoff doc.

  • Closing the gap between data and stylesheets
  • Quick sanity check with the swatch
  • One copy block for chat or tickets
  • Pair with contrast or palette tools when polishing UI

Still a converter—your source of truth for brand color stays wherever you design.

Keep it around for RGB in, HEX out.

Overview

Each channel is 0-255. We output standard HEX plus helper lines so you can paste into code without retyping.

How it works

  1. Type R, G, B or grab a color with the picker / samples.
  2. Confirm the mix with the preview.
  3. Tap Copy HEX results for the full paste block.
  4. Next: HEX → RGB or HEX → HSL when another format is easier.

Privacy: Conversion runs in your browser. We do not receive your RGB or HEX values.

FAQ

  • Match Figma or devtools? Standard sRGB. Odd profiles may differ—verify in the app you ship with.
  • Account? Not required.
  • Upload? No. Values stay here until you copy.
  • Phone? Yes—inputs and picker scale.
  • Production CSS? Yes—the bundle is meant for real stylesheets and tokens.

Bookmark it when you bounce between numbers and #hex.