More in this category

HEX to RGB Converter

Convert HEX color codes to RGB and back instantly. Supports 3 and 6 digit HEX values, validates input and copies results. Free, private, browser-based.

All processing happens locally in your browser. Files are never uploaded.

HEX to RGB

RGB to HEX

Introduction

HEX to RGB Converter translates between the two most common web color formats. Type a HEX code such as #6366f1 to get its RGB values, or enter R, G and B channels to get the equivalent HEX code. It accepts both 3 and 6 digit HEX shorthand and validates every input.

Features

  • Convert HEX to RGB with one click
  • Convert RGB channels back to HEX
  • Supports 3 digit shorthand like #fff
  • Validates channels between 0 and 255
  • Copy the result instantly

How to use

  1. 1Type a HEX color code into the HEX to RGB box and click Convert.
  2. 2Or enter R, G, B values in the RGB to HEX box and click Convert.
  3. 3Read the validated result in the output row.
  4. 4Click Copy to put the result on your clipboard.

Frequently asked questions

Related tools