RGB to Hex Color Converter

Free

by RapidTables

Provided by RapidTables

Not yet rated
Platform
Web
Pricing
Free
Account required
No
Ads
Moderate
Last verified
46 minutes ago
Developer
RapidTables
Official URL

Overview

This is the RGB to hex colour converter on RapidTables, a long-running site of free calculators, converters and reference tables. You enter red, green and blue values from 0 to 255, by typing or with sliders, and it gives you the matching hex code used in HTML and CSS.

The input is forgiving: you can paste a value such as rgb(255, 99, 71), a comma-separated triple or even a hex code, and the page says decimal values from 0 to 1 and percentages are handled too. Beyond the hex code it also shows the short hex form, CSS RGB and HSL strings, HSV and CMYK values, the colour name and a text contrast hint, plus the calculation steps.

Below the tool the page explains the conversion by hand, with worked examples and a table of common named colours. It suits web designers, students and anyone who needs a quick conversion. The page is free with no sign-up and is supported by adverts.

Screenshots

Features

  • Red, green and blue inputs from 0 to 255 with sliders
  • Accepts pasted rgb() strings, comma-separated values and hex codes
  • Outputs hex, short hex, CSS RGB and CSS HSL
  • Also shows HSV, CMYK, decimal and 0 to 1 values
  • Colour name and text contrast hint
  • Lowercase option for the hex output
  • Step-by-step calculation and worked examples
  • Table of common named colours with RGB and hex values

Privacy

See the official privacy policy. The page uses no accounts, and its HTML includes third-party advertising slots.

Pros & Cons

Pros

  • Gives several colour formats at once, not just hex
  • Explains the maths, which is handy for learning
  • No account or install needed
  • Links to the reverse converter and other colour tools on the same site

Cons

  • Shows adverts, including a sidebar and a sticky unit
  • One colour at a time, with no batch or palette conversion
  • No public API

Community Reviews (0)

No written reviews yet — be the first to rate this tool.

Similar Tools