Skip to content
U5F
#designUpdated 2026-07-25

Hex ↔ RGB Converter

Convert hex colors to RGB values and back again.

Input

Output

Result will appear here.
runs locally

Features

  • Hex and RGB output
  • Instant conversion
  • Client-side

How to use Hex ↔ RGB Converter

  1. 1Paste a color value
  2. 2Click Convert
  3. 3Copy the new format

Example

Input — Example

#ff0000

Output

rgb(255, 0, 0)

What Hex ↔ RGB Converter does

Convert hex colors to RGB values and back again. It runs entirely client-side, so nothing you enter is sent to a server — useful when working with sensitive data or when you just want an instant result without waiting on a network round-trip.

Common use cases

  • Design systems
  • CSS values

FAQ

What formats are supported?

The tool accepts hex strings like #ff0000 and rgb(255, 0, 0).

Related tools

Was this tool useful?