Color Converter

Convert between RGB, HEX, and DEC color formats online for free. Real-time preview, color picker, and CSS output. Fast, easy, and no installation needed.

#6366F1
rgb(99, 102, 241) · 6514417
R99
G102
B241
HEX#6366f1
HEX (upper)#6366F1
RGBrgb(99, 102, 241)
RGBArgba(99, 102, 241, 1)
HSLhsl(239, 84%, 67%)

All processing happens locally in your browser. No data is sent to any server.

Convert colors between RGB, HEX, and decimal formats with live preview, CSS values, and quick copying for design and frontend workflows.

Convert common color formats

Design tools, CSS, data exports, and scripts may use different color formats. Convert RGB, HEX, and decimal values without manual calculation.

Preview before using the color

The live preview helps verify that the converted color is correct before you paste it into CSS, design specs, or documentation.

Common Use Cases

  • Convert HEX colors to RGB for CSS.
  • Turn decimal color values into readable HEX.
  • Generate CSS color values for frontend work.
  • Check brand colors before sharing specs.

How to Use This Tool

  1. 1Enter a HEX, RGB, or DEC color value.
  2. 2Review the converted formats.
  3. 3Use the preview to verify the color.
  4. 4Copy the value you need.

Frequently Asked Questions

What is a HEX color?

HEX is a six-digit hexadecimal color format commonly used in CSS, such as #0f172a.

What is a decimal color value?

A decimal color stores RGB information as a single number, often used by some apps, APIs, and data exports.

Is this color converter free?

Yes. You can use it in the browser without installing desktop software.

Useful For

A few nearby tasks this tool can help with.

Convert colors for CSSCheck RGB and HEX valuesPrepare design handoff specsPreview brand colors before copying