RGB/Hex Color Converter

Use this tool to convert RGB values to Hex color codes or vice versa.

Input

Output

Convert RGB to Hex

The process of converting RGB values into hexadecimal (Hex) color codes.

1. Input three numbers representing RGB values in the range of 0 to 255.

2. Convert each number to a hexadecimal value.

3. Combine the three hexadecimal values to get the final Hex code.

Convert Hex to RGB

The process of converting a hexadecimal (Hex) color code into RGB values.

1. Input a Hex code consisting of 6 characters (numbers and letters).

2. Convert each pair of characters to a decimal value.

3. Combine the three resulting numbers to get the final RGB value.

Usage Instructions

1. Enter an RGB or Hex color code in the input field.

2. Click the convert button to see the result.

3. Check the converted value in the result area.

4. Click the copy button next to the result to copy it to the clipboard.

Security Notice

None of the entered text or converted information is stored on the server.

Free to Use

This tool is offered completely free of charge and can be used directly in the browser without downloading any software.

Conversion Example

For example, RGB(255, 0, 0) converts to #FF0000, and the Hex code #00FF00 converts to RGB(0, 255, 0).