All hex-colors in three-digit or six-digit hex are pure colors, so #000000 will be black in all implementations that follow the official specification. Eight-digit hex means that the last 2 digits represent the alpha value.. so #ffffff00 works. It translates to 255,255,255,0 (white with an alpha of 0, which makes it transparent). This works with every color.. as long as it's eight-digit and the last 2 digits are 00, it will always be transparent. Answer from toi80QC on reddit.com
🌐
Hexcalculator
hexcalculator.org › color-opacity
Hex Color Opacity Calculator
December 4, 2025 - Step 1: Enter the HEX Color Type a valid HEX color (e.g., #3498db, #A52A2A) into the input box. The tool supports both uppercase and lowercase HEX formats. Step 2: Enter the Opacity (0–100%) Choose the transparency level:
Discussions

Find the hex code for a transparent color - Graphic Design Stack Exchange
In the image below, there are four colors. Three of them are opaque, and two of those opaque ones are behind a semi-transparent color. I want to find the exact hex value and opacity of that color. ... More on graphicdesign.stackexchange.com
🌐 graphicdesign.stackexchange.com
June 20, 2021
What are the Hex numbers for transparency?
What I’m trying to do I’m trying to change some of the colors to transparent for the Minimal Theme using Style Settings plugin. Some of them begin as transparent, but once you change to a color I cannot seem to change them back to transparent. Does anyone know the HEX numbers for this? More on forum.obsidian.md
🌐 forum.obsidian.md
0
0
April 1, 2024
android - Hex transparency in colors - Stack Overflow
So, I end up creating a simple method in my java utils class. This method will convert the percentage of transparency to hex value and append to the color code string value. More on stackoverflow.com
🌐 stackoverflow.com
Hexadecimal color code for transparent?
All hex-colors in three-digit or six-digit hex are pure colors, so #000000 will be black in all implementations that follow the official specification. Eight-digit hex means that the last 2 digits represent the alpha value.. so #ffffff00 works. It translates to 255,255,255,0 (white with an alpha of 0, which makes it transparent). This works with every color.. as long as it's eight-digit and the last 2 digits are 00, it will always be transparent. More on reddit.com
🌐 r/webdev
7
3
December 28, 2020
People also ask

Why use RGBA instead of HEX for transparency?
HEX does not support transparency. RGBA includes an alpha channel, allowing precise adjustment of opacity levels.
🌐
hexcalculator.org
hexcalculator.org › color-opacity
Hex Color Opacity Calculator
Does the tool support 3-digit HEX codes?
Yes, shorthand HEX values such as #F60 are automatically expanded to full 6-digit HEX before opacity conversion.
🌐
hexcalculator.org
hexcalculator.org › color-opacity
Hex Color Opacity Calculator
What does opacity mean in digital color?
Opacity determines how transparent a color is, ranging from fully transparent (0%) to fully opaque (100%).
🌐
hexcalculator.org
hexcalculator.org › color-opacity
Hex Color Opacity Calculator
🌐
Medium
kirti-du.medium.com › hexadecimal-color-code-for-transparency-in-android-e2e2108edd0b
Hexadecimal color code for transparency in Android | by Kirti K | Medium
June 1, 2021 - Maximal value (255 dec, FF hex) means fully opaque. The minimum value (0 dec, 00 hex) means fully transparent. Values in between are semi-transparent, i.e. the color is mixed with the background color.
🌐
W3Schools
w3schools.com › cssref › tryit.php
HEX colors with transparency
❯Run Code Ctrl+Alt+R Save Code Ctrl+Alt+A Change Orientation Ctrl+Alt+O Change Theme Ctrl+Alt+D Go to Spaces Ctrl+Alt+P
🌐
David Walsh
davidwalsh.name › hex-opacity
Hex Opacity Table
May 25, 2020 - We've used hex colors for years but 8-digit hexadecimal is still relatively new. While rgba is simple to understand, 8-digit hex is more difficult, as you
Find elsewhere
🌐
W3Schools
w3schools.com › cssref › css_colors_legal.php
CSS Legal Color Values
A hexadecimal color is specified with: #RRGGBB. To add transparency, add two additional digits between 00 and FF.
🌐
Microsoft Power BI Community
community.powerbi.com › t5 › Desktop › Transparent-Data-Color › td-p › 1185555
Solved: Transparent Data Color - Microsoft Power BI Community
January 15, 2021 - ... Please make sure that the field values are listed in the CSS color spec at https://www.w3.org/TR/css-color-3/. These color values can include: 3, 6 or 8-digit hex codes, for example #3E4AFF.
🌐
GitHub
gist.github.com › lopspower › 03fb1cc0ac9f32ef38f4
Hexadecimal color code for transparency · GitHub
Hexadecimal color code for transparency · Raw · README.md · For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.
🌐
Matplotlib
matplotlib.org › stable › users › explain › colors › colors.html
Specifying colors — Matplotlib 3.10.8 documentation
... The following links provide more information on colors in Matplotlib. ... "Red", "Green", and "Blue" are the intensities of those colors. In combination, they represent the colorspace. The alpha value of a color specifies its transparency, where 0 is fully transparent and 1 is fully opaque.
🌐
The Flerlage Twins
flerlagetwins.com › 2021 › 10 › introducing-transparent-color-hex-code.html
Introducing the Transparent Color Hex Code in Tableau - The Flerlage Twins: Analytics, Data Visualization, and Tableau
January 10, 2022 - You can actually apply a hex code color that is transparent. The hex code for transparent white (not that the color matters when it is fully transparent) is two zeros followed by white's hex code of FFFFFF or 00FFFFFF.
🌐
R-project
colorspace.r-forge.r-project.org › reference › adjust_transparency.html
Adjust or Extract Transparency of Colors — adjust_transparency • colorspace
It allows to specify the default value - that should be used for colors without an explicit alpha transparency (defaulting to fully opaque) - and mode of the return value. This can either be numeric (in [0, 1]), integer (0L, 1L, ..., 255L), character (“00”, “01”, ..., “FF”), or an object of class hexmode (internally represented as integer with printing as character).
🌐
Drawne
drawne.com › home › blog › hex opacity: what is it & hex opacity table
Hex Opacity: What is it & hex opacity table
July 5, 2024 - While it may not be intuitive to find the hex value percentage, here is a handy table to quickly find the opacity to append to your hex color to make it transparent. So for example if you want your color to be 95% opacity you would append the hex code F2 to your hex color.
🌐
Ben Frain
benfrain.com › easily-add-transparency-to-any-hex-color-with-4-and-8-digit-hex
Easily add transparency to any HEX color with 4 and 8 digit HEX – Ben Frain
June 16, 2021 - Now, with that being the case, suppose you have an orange colour, which you could write in 3 digit Hex as #f90, which, would get expanded by the machine to be #ff9900, you could write that with 50% transparency as #f908, or #ff990088 if you want it in the 8-digit form.
🌐
Obsidian
forum.obsidian.md › custom css & theme design
What are the Hex numbers for transparency? - Custom CSS & Theme Design - Obsidian Forum
April 1, 2024 - What I’m trying to do I’m trying to change some of the colors to transparent for the Minimal Theme using Style Settings plugin. Some of them begin as transparent, but once you change to a color I cannot seem to change th…
Top answer
1 of 8
4111

Here's a correct table of percentages to hex values for opacity. E.g. for 50% white you'd use #80FFFFFF. To think in terms of transparency instead, flip the order of the percentages (more opaque = less transparent).

% Hex
100% FF
95% F2
90% E6
85% D9
80% CC
75% BF
70% B3
65% A6
60% 99
55% 8C
50% 80
45% 73
40% 66
35% 59
30% 4D
25% 40
20% 33
15% 26
10% 1A
5% 0D
0% 00

(source question)

2 of 8
185

Short answer: full table of percentages

You can see the full table of percentages to hex values and run the code in this playground in

  • Golang https://play.golang.org/p/l1JaPYFzDkI .
  • Kotlin https://pl.kotl.in/o9BnFYhRn

Ok the table tells the results not how to find the results. The next parts explain how you can calculate yourself.

Short explanation in pseudocode

Percentage to hex values

  1. decimal = percentage * 255 / 100 . ex : decimal = 50*255/100 = 127.5
  2. convert decimal to hexadecimal value . ex: 127.5 in decimal = 7*16ˆ1 + 15 = 7F in hexadecimal

Hex values to percentage

  1. convert the hexaxdecimal value to decimal. ex: D6 = 13*16ˆ1 + 6 = 214
  2. percentage = (value in decimal ) * 100 / 255. ex : 214 *100/255 = 84%

More infos for the conversion decimal <=> hexadecimal

Long answer: how to calculate in your head

The problem can be solved generically by a cross multiplication.

We have a percentage (ranging from 0 to 100 ) and another number (ranging from 0 to 255) then converted to hexadecimal.

  • 100 <==> 255 (FF in hexadecimal)
  • 0 <==> 0 (00 in hexadecimal)

For 1%

  • 1 * 255 / 100 = 2,5
  • 2,5 in hexa is 2 if you round it down.

For 2%

  • 2 * 255 / 100 = 5
  • 5 in hexa is 5 .

The table in the best answer gives the percentage by step of 5%.

How to calculate the numbers between in your head ? Due to the 2.5 increment, add 2 to the first and 3 to the next

  • 95% — F2 // start
  • 96% — F4 // add 2 to F2
  • 97% — F7 // add 3 . Or F2 + 5 = F7
  • 98% — F9 // add 2
  • 99% — FC // add 3. 9 + 3 = 12 in hexa : C
  • 100% — FF // add 2

I prefer to teach how to find the solution rather than showing an answer table you don't know where the results come from.

Give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime

🌐
Chris Coyier
chriscoyier.net › 2023 › 05 › 12 › add-opacity-to-an-existing-color
Add Opacity to an Existing Color – Chris Coyier
May 12, 2023 - Say your brand color is the orange #f06d06. Now you need that color but with some opacity on it. One option is the 8-digit hex code. I find it hard to know which additional two characters are needed, but it's possible. Hex CodeNotes#f06d06Original Orange#f06d0640Orange @ 25% opacity#f06d0680Orange @ 50% opacity#f06d06BFOrange @ 75% opacity Test Pen…
🌐
Fausto Capellan, Jr
faustocapellan.com › 2020 › 06 › 01 › how-to-2-add-transparency-to-hex-colors-in-power-apps
How-To #2: Add Transparency to Hex Colors in Power Apps – Fausto Capellan, Jr
June 1, 2020 - With RGBA(), you can change the Alpha value from 0, which is transparent, to 1, which is full. And to add transparency, you can use any decimals between 0 and 1, such as RGBA(255, 255, 0, 0.7). But what about transparency for hex colors? How ...
🌐
Color Hex
color-hex.com › color-palette › 1014517
Transparent Color Palette
Transparent color palette created by 2505194 that consists #000000,#444444,#888888,#cccccc,#ffffff colors.
🌐
Chucklefish Forums
community.playstarbound.com › threads › found-transparent-color-code-somehow.130814
Tutorial - Found Transparent Color Code. Somehow. | Chucklefish Forums
February 27, 2017 - coloring · colour · colour change · colours · invisible · invisible object · transparent · (You must log in or sign up to reply here.) Show Ignored Content ·