← All free tools Misc tools

HEXA to HEX

Convert your HEXA color format to HEX format.

Accepts any format: #a8d08d, rgb(168 208 141), hsl(96, 42%, 68%), hsv(96, 32%, 82%) or a color name.

About this tool

Type or paste a HEXA color, or choose one with the picker, and the converter shows it as HEX as you type, with a preview and every other format underneath, each with its own copy button. It reads colors written in any of the formats, and color names like “tomato”, too.

How to convert HEXA to HEX

HEX is HEXA without the alpha: keep the color values and drop the opacity, so #a8d08dcc becomes #a8d08d. The color comes out fully solid.

HEXA to HEX examples

ColorHEXAHEX
Sage green #a8d08dcc #a8d08d
Red #ff0000cc #ff0000
Tomato #ff6347cc #ff6347
Gold #ffd700cc #ffd700
Dodger blue #1e90ffcc #1e90ff
Indigo #4b0082cc #4b0082
Black #000000cc #000000
White #ffffffcc #ffffff

What is HEXA?

HEXA adds a fourth pair of digits to a HEX code for alpha, the opacity: ff is solid, 80 about half see-through and 00 invisible. All current browsers accept eight-digit codes in CSS.

What is HEX?

A HEX code is the most common way to write a color for the web and in design apps: a # followed by three pairs of base-16 digits, from 00 to ff, for red, green and blue. A three-digit code like #fc0 is short for #ffcc00.

Have a project in mind?

Have a brand or a product to grow?