Browser-only tool

Color converter

Convert HEX colors to RGB and HSL, or enter RGB/HSL values to generate HEX output for CSS, design systems, and debugging.

  • Updated: 2026-04-30
  • Color conversion runs locally in your browser and does not upload input.

Warning: this converts CSS color notation. It does not check accessibility contrast or color profiles.

Color output will appear here.
Preview

Privacy And Limitations

Color conversion runs locally in your browser and does not upload input.

  • This tool converts color notations, not full color profiles.
  • Accessibility contrast checks should be handled with a dedicated contrast tool.
  • Browser rendering and displays can differ in perceived color.

FAQ

Which color formats are supported?

This first version supports HEX, RGB, and HSL values commonly used in CSS.

Does it check accessibility contrast?

No. It converts colors only; contrast checking should be a separate tool.

Is conversion uploaded to a server?

No. Color parsing and conversion runs locally in the browser.

Why can colors look different on screens?

Displays, browser rendering, and color profiles can affect perceived color.

Can I use shorthand HEX?

Yes. Three-digit HEX values are expanded before conversion.