# HEX to RGB Converter

Free, Open Source & Ad-free

[by Jam.dev — One click bug reports devs love](/content/?ref=utils-badge/index.html)

HEX Value

Red

Green

Blue

CSS: rgba(0, 0, 0, 1)

Obj C: \[UIColor colorWithRed: 0.00 green: 0.00 blue: 0.00 alpha: 1.0\]

Swift: UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 1.00)

Android: Color.rgb(0, 0, 0)

Our tools are free and open source. Feel free to contribute.

## How to use the HEX to RGB color converter:

- **Step 1:**

Enter your HEX color code
- **Step 2:**

Copy the resulting RGB color code

## How the CSS color converter works

This tool takes your hexadecimal color code (HEX for short) and gives you the resulting RGB color combination of red, green, and blue values ranging from 0 to 255 — so you can match HTML/CSS colors to design files and other editing software. For example, if you're working with Figma designs, this tool allows you to input the HEX code you're using for HTML elements and get the RGB color codes to match in Figma.

Need to convert the other way? You can use the RGB to HEX converter [here](/content/utilities/rgb-to-hex/index.html).
