Skip to content
Tezmy Tools

HEX to RGB Converter

Turn an HEX colour into RGB with a live swatch

RGB value

rgb(255, 136, 0)

HEX
#FF8800

Runs in your browser. Nothing is uploaded.

About the HEX to RGB Converter

This converter changes a colour from HEX to RGB. You type the HEX value into one box for the hex code, and the RGB value appears at once, together with a swatch so you can see the colour. The six hex digits are split into three pairs, and each pair is read as a number from 0 to 255: the first pair is red, the second green and the third blue. A three-digit code like F80 is expanded by doubling each digit to FF8800. Out-of-range values are explained instead of being silently changed. The result can be copied with one tap. Everything is calculated in your browser, so nothing you type is uploaded.

Updated October 2026

How to use the HEX to RGB Converter

  1. 1Enter the HEX value in the boxes.
  2. 2Watch the colour swatch change.
  3. 3Read the RGB value in the large result box.
  4. 4Check the second line for the matching value in another notation.
  5. 5Press Copy result to keep it.

Why convert HEX to RGB

Style sheets and brand guides give hex codes, while many tools, canvas code, game engines and design apps ask for red, green and blue numbers. Converting avoids reading the hex by hand and the mistakes that come with it.

The same colour can be written in several notations, and each tool or file format prefers one. Having a quick converter means you do not have to guess or repeat the sum by hand when you move a colour from one place to another.

    How the HEX to RGB conversion works

    The six hex digits are split into three pairs, and each pair is read as a number from 0 to 255: the first pair is red, the second green and the third blue. A three-digit code like F80 is expanded by doubling each digit to FF8800.

    For #FF8800, FF is 255, 88 is 136 and 00 is 0, so the colour is rgb(255, 136, 0).

    • The hash sign is optional.
    • Three-digit codes are short for six-digit codes.
    • Capital and small letters give the same colour.

    Limits and good habits

    Values outside the allowed range, such as an RGB channel above 255 or a percentage above 100, are rejected with a message. Round-trip conversions can drift by one unit because of rounding. If you need a colour to match exactly in print, use the profile supplied by your printer.

    The Color Converter on this site shows HEX, RGB, HSL, HSV and CMYK together for one colour, and the Color Contrast Checker tells you whether two colours are readable together.

      Phone and computer

      On a phone, tap each box and type; the swatch and the RGB value update as you go. On a computer the boxes sit on the left and the result on the right. The page works the same on both, and the Copy button gives you the value to paste into your design tool or style sheet. For the reverse use RGB to HEX Converter, and build a full scheme with the Color Palette Generator.

        Features

        • HEX to RGB as you type
        • Colour swatch
        • Clear messages for values out of range
        • Copy the result
        • Private: nothing is uploaded
        • Works on phone and computer

        Frequently asked questions

        How do I convert HEX to RGB?

        The six hex digits are split into three pairs, and each pair is read as a number from 0 to 255: the first pair is red, the second green and the third blue. A three-digit code like F80 is expanded by doubling each digit to FF8800. For #FF8800, FF is 255, 88 is 136 and 00 is 0, so the colour is rgb(255, 136, 0).

        What is the HEX to RGB formula?

        The six hex digits are split into three pairs, and each pair is read as a number from 0 to 255: the first pair is red, the second green and the third blue. A three-digit code like F80 is expanded by doubling each digit to FF8800.

        What is #FF8800 as RGB?

        rgb(255, 136, 0). For #FF8800, FF is 255, 88 is 136 and 00 is 0, so the colour is rgb(255, 136, 0).

        Are the HEX to RGB results exact?

        The calculation is exact, but the values are rounded to whole numbers or whole percentages for display, so converting back and forth can differ by one unit.

        Why does the colour look different on my screen and on paper?

        Screens emit light and paper reflects it, and every screen and printer has its own profile. The converter gives the standard mathematical values; for print jobs, check a printed proof.

        Is my input uploaded?

        No. The conversion is done in your browser, and nothing is sent to a server.

        Related tools