Color & a11y
HEX to RGB
Convert hex colors to RGB values and CSS-ready snippets.
Design tools and design tokens often use `#RRGGBB`. Developers sometimes need RGB triples for Swift, Android, or older CSS. Paste a hex code (3, 6, or 8 digits with alpha) and copy values you can drop into stylesheets or platform code.
Similar tools
Quick links to related utilities—same workflow, different input or output.
- Color & a11yWCAG color contrastCheck WCAG 2.x contrast ratios for text and UI colors in sRGB hex.Open
- Text & devCSS units (px ↔ rem)Convert between pixels and rem using a configurable root font size.Open
- Data formatsJSON formatterPretty-print or minify JSON for debugging, reviews, and smaller payloads.Open
FAQs
What formats are accepted?›
Forms like `#RGB`, `#RRGGBB`, and `#RRGGBBAA` work. The `#` is optional in many cases.
How is alpha handled?›
When eight hex digits are present, an approximate CSS `rgba()` string is shown alongside 0–255 RGB channels.
Why do my colors look different on another screen?›
Hex/RGB describe sRGB values; device calibration and color profiles still affect appearance.
General
Do these tools send my data to Exemplar’s servers?›
By default, conversion and formatting run entirely in your browser. Nothing is uploaded to Exemplar for normal paste-and-transform workflows. Tools that deliberately open an external service (for example, a third-party speed test) are called out on the page.
Do I need an account or install anything?›
No account is required. Everything runs in the browser—there is nothing to install for these utilities. They complement the Exemplar platform but work standalone.
Are these utilities open-source or the same as other sites?›
These pages are built for Exemplar’s audience (developers working with APIs, config, and ops data). Behavior may differ slightly from other online tools; always verify critical output in your own environment.
Are there size or performance limits?›
Very large inputs can slow down or crash the tab—especially for images, huge JSON, or multi‑MB HAR files. For production-scale data, prefer local CLI tools, streaming parsers, or your own pipelines.
Can I use output in production?›
Yes, when you have validated it. Parsers and formatters here aim to be helpful for everyday tasks but are not a substitute for tests, schema validation, or security review where it matters.
Where can I read more about privacy?›
See our Privacy policy at /privacy for how exemplar.dev handles site analytics and general data practices.