Convert 3-digit and 6-digit HEX color codes into CSS rgb(), rgba() with opacity slider, and JavaScript color objects. Built for modern frontend and full-stack engineers, this utility executes 100% locally in your browser with zero server latency.
- 1Enter a 3 or 6 digit HEX color code (e.g. #3B82F6).
- 2Adjust the alpha opacity slider between 0 and 1.
- 3Copy CSS rgb(), rgba(), or structured JavaScript object notation.
Your code snippets, tokens, and JSON schemas are processed locally inside your browser memory. We record only anonymous aggregate utility execution counts for platform telemetry.
Formatted for modern stacks including React 19, Next.js, TypeScript 5+, and Tailwind CSS v4.
Run unlimited conversions, schema generations, and calculations completely free without signups.
Does this accept shorthand 3-digit hex codes?
Yes, shorthand codes like #FFF are automatically expanded into their 6-digit equivalent #FFFFFF.
Can I copy the output directly into CSS and Tailwind configs?
Yes, one-click copy buttons provide standard CSS strings and JSON-ready object values.
