Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about colors #28

Closed
schmanat opened this issue Apr 13, 2020 · 1 comment
Closed

Question about colors #28

schmanat opened this issue Apr 13, 2020 · 1 comment

Comments

@schmanat
Copy link

Hi

First of all thx for this project, its pretty cool. But know I have a stupid questin. You defined color as var. But why you are using HEX Colors with 8 signs. I thougth a color definition as hex could only be 6 sign.

Whats color should be (i.e.) color-accent? The Google Chrome Dev Tools show me as color transparent

@andybrewer
Copy link
Owner

@schmanat Good question, this was new to me as well. I was looking for a way to automatically generate complimentary colors and found out that CSS allows for 8-digit hex values with the last 2 digits representing the opacity of the color. Here's a good walk through: https://alligator.io/css/hex-code-colors-alpha-values/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants