Hex to RGB Converter

Convert hex colours to RGB, RGBA, HSL, Android and C# formats, with a swatch and contrast ratios. Free and private: runs in your browser.

Paste one or more hex codes (#RGB, #RRGGBB or #RRGGBBAA).

Runs entirely in your browser. Nothing you paste is uploaded or stored.

Use cases

  • Answer a quick question without leaving the browser.
  • Debug web and API behaviour faster.
  • Share a precise result with a teammate.

Frequently asked questions

How does hex map to RGB?

Each pair of hex digits is one channel from 00 to FF (0–255): #1F3A5F is red 31, green 58, blue 95.

Is the Hex to RGB Converter free?

Yes. It is free with no sign-up, and it runs entirely in your browser, so your input is never uploaded or stored.

Do I need an account?

No. The tool is free, needs no sign-up and runs in your browser.

Related tools

Checking one snippet is a start. Scan your whole repository for free with CodeInspector.

All free developer tools