-
Notifications
You must be signed in to change notification settings - Fork 270
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
Do we already have argb hex string converter? #72
Comments
Nope, but if something needs to be implemented, it will be probably |
Nope, its AARRGGBB |
https://msdn.microsoft.com/en-us/library/ms532930(v=vs.85).aspx
|
ARGB or RGBA are two different representations - both are valid, but some are used in different places. RGBA makes more sense from an API standpoint since common overloading practices append "optional" parameters to the end. |
yep, however what I was asking for was specifically a string for IE compatible argb thing. |
Unless I'm mistaken, you should be able to pass ARGB values to RGBA and get the intended result. |
Well I need to covert to ARGB, not from. |
I didn't find any reference whether IE filter supports rgba or anything else. |
w3c css color spec only mention #rrggbbaa (or #rgba) https://drafts.csswg.org/css-color/#hex-notation Anyway, PR are always welcome. I think we can bring that with alphaHexString (#argb) and hexAlphaString (#rgba). |
I think its IE only non standard thing. |
(sigh) Of course it's an IE thing. I'll add this in the new version. |
👍 |
@Qix- It's in recent CSS specs too. |
This is actually a Thanks for bringing it up! I'm not sure if it'll make it into the 1.x makeover at this point, but I'll definitely address it. |
Hi, just to check if we have this feature already? |
Nope, feel free to help out and open a PR :) |
Released |
Like this one http://lesscss.org/functions/#color-definition-argb
The text was updated successfully, but these errors were encountered: