Tools

Percentage to Hexadecimal Converter

Convert an opacity percentage to a hexadecimal alpha value.

Who It's For

Any developer or designer who needs to convert a percentage (particularly an opacity percentage) to a hexadecimal alpha value.

Why I Built It

I found myself constantly searching for a conversion table for opacity in percentage to an alpha value (opacity as a number between 0.0 and 1.0).

I wanted to build something simple that let me type or pick a percentage and have it automatically convert into the alpha equivalent in hexadecimal. This also gave me the chance to understand hexadecimal conversion with a concrete example.

Percentage to Hexadecimal Converter

Convert an opacity percentage to a hexadecimal alpha value.

Result

6B
(#7e22ce)
Alpha Applied
(#7e22ce6B)