Sign in Sign up free Account

HEX to RGB Converter

Type a HEX code such as #2563eb (or 3, 4 or 8 digits) and get RGB, RGBA, HSL, HSV and CMYK, with the colour shown and its text contrast checked.

HEX to RGB Converter Runs in your browser: nothing is uploaded

How to convert HEX to RGB

A HEX colour is three pairs of hexadecimal digits: red, green and blue, each from 00 to FF (0 to 255). #2563EB is red 0x25 = 37, green 0x63 = 99, blue 0xEB = 235, so rgb(37, 99, 235). A 3-digit code doubles each digit: #f80 is #ff8800.

HEX to RGB conversion table (common colours)

White #FFFFFF is rgb(255, 255, 255); black #000000 is rgb(0, 0, 0); red #FF0000 is rgb(255, 0, 0); lime #00FF00 is rgb(0, 255, 0); blue #0000FF is rgb(0, 0, 255); grey #808080 is rgb(128, 128, 128); orange #FFA500 is rgb(255, 165, 0); teal #008080 is rgb(0, 128, 128).

HEX to RGBA (with alpha)

An 8-digit HEX code adds transparency as the last pair: #2563EB80 is rgba(37, 99, 235, 0.5), because 0x80 is 128, about half of 255. A 4-digit code works the same way with doubled digits.

Check text contrast (WCAG AA and AAA)

The contrast ratio is worked out with the WCAG 2 formula against white or any background you type. Normal text needs 4.5:1 for AA and 7:1 for AAA; large text (24 px, or 18.66 px bold) needs 3:1 and 4.5:1.

HEX vs RGB vs HSL

HEX and RGB are the same numbers written two ways, both describing how much red, green and blue light to mix. HSL describes the same colour as hue (0 to 360 degrees), saturation and lightness, which is easier for making a lighter or darker shade by hand.

Text to Result converter: free and online

  • text to result
  • convert text to result
  • text to result converter
  • text to result online
  • change text to result

Convert text to result in your browser: drop in a Text file and download the Result. The file is converted on your own device and never uploaded, so this text to result converter is safe for private and confidential files.

More conversions from Text: Text to PDF, Text to PDF, Text to PDF, Text to PDF, Text to PDF, Text to PDF.

Other conversions to Result: Text to Result, Text to Result, Text to Result, Text to Result, Text to Result, Text to Result.

People also search for

  • text to result free
  • text to result without losing quality

On the blog: HEX to RGB Converter: Steps, Tips and Mistakes to Avoid

Reviews

No reviews yet. Used this tool? Yours could be the first.

Used this tool? Sign in to write a review.

Questions

How do I convert Text to Result?

Drop your Text file on this page, check the preview, and press Download. The Result is made in a few seconds, with no sign-up.

Is my Text file uploaded anywhere?

No. The text to result conversion runs in your browser, on your own device. The file never leaves it.

What is #FFFFFF in RGB?

rgb(255, 255, 255), which is white. Each FF is 255, the most of that colour.

Can I convert a HEX colour with transparency?

Yes. Type an 8-digit code such as #FF000080 and you get rgba(255, 0, 0, 0.5).

Is the CMYK value exact for print?

It is the standard mathematical conversion. Real print colour depends on the printer's ink profile, so for brand colours ask your printer for a proof or a Pantone match.