HEX to RGB Converter (and RGB to HEX)

Paste one or more color codes in HEX, RGB or HSL: get every notation you need for CSS and print, plus the contrast of white and black text on that color.

Free • No sign-up required

Accepted formats: #RGB, #RRGGBB, #RRGGBBAA, rgb(), rgba(), hsl(), hsla() or "255, 128, 0".

0 colors converted

How to Use This Tool

1

Paste your color codes, one per line, or pick a color with the picker.

2

Click "Convert colors": each color is translated to HEX, RGB, HSL and CMYK.

3

Check the WCAG contrast of white and black text on each color, then copy or export the table.

Frequently Asked Questions

Switch between color notations

Still have questions?

Contact our team for help

Related Tools You Might Like

Keep optimizing your website with these complementary tools

Want us to fix this for you?

We build fast, search-optimized websites for businesses in Morocco, and we fix the issues tools like this one uncover.

Or book a call

Fast reply on WhatsApp. Free quote, no commitment.

See our work

A Brand Guide to Apply to Your Website?

We design websites true to your visual identity, accessible and fast

50+ successful projects • 48h delivery • No long-term contracts

  • Websites
  • AI Chatbots
  • CRM
  • Booking
  • Payments
  • Web apps
  • Dashboards
  • SEO