Developer bench

Hex ↔ RGB

Convert supported hex and RGB notation into consistent representations of the same colour.

PRACTICAL WORKFLOW

Hex ↔ RGB: inputs, results and limitations

Convert supported hex and RGB notation into consistent representations of the same colour.

How to use Hex ↔ RGB

  1. Paste your text or use the example to inspect the operation.
  2. Run the tool once the input is ready.
  3. Inspect the preview or result, then download a new file.

An illustrative use case

The HEX colour #426bd1 converted to RGB channels.

Sample input

#426bd1

What to inspect in the output

Enter a supported HEX or RGB form and compare all three channels. This operation does not convert between print colour profiles or measure perceived contrast by itself.

Where this tool stops

Review the output before using it. Your original input is not changed.

Troubleshooting Hex ↔ RGB

Check source syntax and distinguish literal characters from their escaped representation. Run the example first, then compare with your failing input to isolate the invalid part.

Questions about Hex ↔ RGB

Does this convert RGB to CMYK?

No. It converts the supported screen-colour notation between HEX and RGB. Printing needs colour-profile-aware tools.

What input does Hex ↔ RGB need?

Use the sample text shown below, then replace it with your own input. Review the result for the destination where it will be used.

Which options does Hex ↔ RGB provide?

There are no extra settings in this version. Select or paste the appropriate input and review the produced result.

Your original input is preserved. Review the new output before using it in a published page, customer delivery or production workflow.

JavaScript enables the interactive workspace.

JSON formatter

UTF-8 Base64

URL component encoder

HTML entities

CSS comment cleaner

JavaScript minifier

HTML comment cleaner

Regex tester

Unix timestamp converter