Skip to content

Instantly share code, notes, and snippets.

@SirLordPouya
Last active October 7, 2019 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SirLordPouya/4eedb5dd3da5f93559e8532a3db23b17 to your computer and use it in GitHub Desktop.
Save SirLordPouya/4eedb5dd3da5f93559e8532a3db23b17 to your computer and use it in GitHub Desktop.
Color transparency
To add transparency to your colors, just add the following codes before the color code.
Example:
White RGB = #FFFFFF
White RGB with 50% of transparency = #80FFFFFF
<!--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