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

REQUEST: please add a hexa() #1686

Closed
stevenvachon opened this issue Nov 27, 2013 · 3 comments
Closed

REQUEST: please add a hexa() #1686

stevenvachon opened this issue Nov 27, 2013 · 3 comments

Comments

@stevenvachon
Copy link

color: hexa(#abcdef, 0.5);

would output:

color: rgba(171,205,239, 0.5);
@Synchro
Copy link
Member

Synchro commented Nov 27, 2013

This is the same as:

color: fade(#abcdef, 50%)

Surely that's close enough?

@stevenvachon
Copy link
Author

Yes. Thank you. I couldn't find it because it wasn't grouped with the color conversions.

Maybe add a hexa() to ensure that it's found in the docs? Also, it'd use decimal values instead of percentages, to be more similar to rgba().

Hmm, let's continue this here: #1665

@Synchro
Copy link
Member

Synchro commented Nov 27, 2013

Well, hexa isn't a very good name because fade accepts a colour in any format, not just RGB hex, and I don't think it would ever occur to me to search for hexa - I'd be more likely to look for 'transparent' which leads straight to fade on lescss.org. There's already discussion about the percentage issue in #1665.

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