Processed in your browser

Switching language reloads this page. Copy or save any inputs and results first.

25 / CONVERSION

Color converter

Preview colors in HEX, RGB and HSL.

Preview as you type
7 charsUTF-8 · Up to 200,000 characters
Inputs and results are processed only in this browser and are not saved.
How to use, examples and questions

Enter a HEX color code or RGB value to see HEX, RGB and HSL together. Preview colors while converting notation for CSS and other uses.

Color converter — how to use

  1. Enter HEX such as #087C62, or RGB such as rgb(8, 124, 98).
  2. Check the displayed color and HEX / RGB / HSL values.
  3. Copy the format you need. Three-digit HEX expands to six digits.

Input and output examples

Check RGB and HSL from HEX

Input
#087C62
Output
HEX: #087C62
RGB: rgb(8, 124, 98)
HSL: hsl(167, 88%, 26%)

Frequently asked questions

Can I use rgba or HEX with transparency?

Transparency is unsupported. Enter HEX as #RGB or #RRGGBB, or RGB as three integer components from 0–255.

Can I enter HSL and convert to HEX?

Input supports HEX or RGB. HSL is displayed as output rounded to integers. Conversion from HSL input is unsupported.

Specifications and limits

Enter HEX (#RGB / #RRGGBB) or RGB (rgb(0, 128, 255)) to see HEX, RGB and HSL. HSL output is rounded to integers. Alpha values and HSL input are unsupported.

Analytics and privacy

Conversion inputs and results are processed in your browser. Image URL and OGP loads connect directly to your chosen destination only when you select the corresponding button. Image, video, Markdown, HTML, CSV and TSV files are not uploaded to our servers. Self-signed certificates and signatures are generated locally; private keys are never sent to our servers or analytics. Markdown external images and HTML scripts are not loaded. The API client sends the URL, headers, body and selected files directly to the endpoint only when you select Send or its shortcut. Speed tests exchange generated test data with Cloudflare when you start a measurement. These destinations receive your IP address. We do not proxy these connections or send inputs or measurement results to analytics. Conversions are not saved automatically. Unsaved API inputs, responses, history and environments stay only in this page. Only API requests explicitly selected with Save in this browser are stored. Auth fields, secret variables, known auth headers and files are excluded; review URLs, bodies and custom headers for other secrets first. Collection exports include URLs and bodies, so review them before sharing.

When analytics is enabled, we use Google Analytics 4 to measure pages, tool names and use counts, actions such as copying or saving an image, speed test starts, completion, cancellation and errors, product link clicks, and monitoring guide and service clicks using fixed IDs. Google uses cookies and collects device and browser information. Google signals for advertising and ad personalization are disabled.

Disabling analytics stores only that preference in this browser. Analytics settings never contain your inputs.Google's privacy policy

Analytics is currently unavailable on this site.