Skip to content

Instantly share code, notes, and snippets.

@reymon359
Last active May 31, 2020 15:43
Show Gist options
  • Save reymon359/6c708bd581666ae83dd9ea647751c6c1 to your computer and use it in GitHub Desktop.
Save reymon359/6c708bd581666ae83dd9ea647751c6c1 to your computer and use it in GitHub Desktop.
Transparency in Hex values table
Table of percentages to hex values.
E.g. for 50% white you'd use #80FFFFFF.
to use in JavaScript CSS in JS `color: ${ white + '80' };`
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment