10015 Tools

Get “Online Tools” browser extension!

Access all tools powered by 10015.io with just one click

What is Online HEX to RGBA Converter?

HEX to RGBA Converter is a free online tool for converting HEX color code to RGBA format. There are different color formats to define a color in CSS. Some are HEX (Hexadecimal Colors), RGB & RGBA, HSL & HSLA. There are also predefines color names like "red, green, lightblue..." etc. Also you can use the keyword currentcolor.

Most used color formats are HEX and RGBA. HEX stands for hexadecimal colors while rgba stands for "red,green,blue,alpha". HEX color code may have varying character length with a maximum of 8 without # sign. First 6 characters shows the amounth or red,green and blue. There are 2 hexadecimal characters for each color. Each character may vary within 0-9 & a-f which means a total of 16 possibilities. For 2 characters, it means 256 possibilities. If you use 8-character length HEX code, last 2 characters symbolizes alpha of the color. In rgba color format, there are 4 arguments. First 3 is red, green and blue which is varying between 0 to 255 and last one is the alpha (or opacity) which varies from 0 to 1.

Same Color Both in HEX and RGBA Color Format
Same Color Both in HEX and RGBA Color Format

For the example in the image, if you convert each hexademical pair to decimals, 00 => 0, 52 => 82, cc => 204, you will get the RGB colors. Since, HEX color is 6 characters only, alpha is equal to 1.

How to use Online HEX to RGBA Converter?

You can convert a HEX color to RGBA by following these steps.

  1. First, enter the HEX code you want to convert to RGBA in the input area.
  2. Click the convert button. If the code you entered is valid, rgba code will pop, otherwise you will see an error. You can also use the color picker directly, then you don't need to use Convert button since it automatically fill both color codes.
  3. You can copy the RGBA code to you clipboard by using the "Copy RGBA Color" button.