Comments (6)
There should be an option to ignore alpha so #000
and rgba(0, 0, 0, 0.3)
are considered different.
from css-colorguard.
I would expect this to be the default behavior.
from css-colorguard.
@captbaritone do you have a suggestion on how to implement it safely?
#000
and rgba(0,0,0,0.3)
may be exactly the same, or very different depending on the color of the element behind it.
from css-colorguard.
Can we just multiply diffAmount by the difference between the alpha сhannel values of colors?
from css-colorguard.
@Sigiller @kbytin @XOP do you want to send PR for it?
from css-colorguard.
not in the nearest future, sorry
from css-colorguard.
Related Issues (20)
- whitelist ignores short HEX values HOT 4
- whitelist ignores rgba values HOT 4
- Migrate to ES6 / ES2015? HOT 2
- Alternative to pipetteur (which uses one-color)? HOT 5
- bug with color name in url, no ignore image name HOT 1
- Consider removing preferGlobal flag HOT 3
- Option to ignore node_modules, other file globs? HOT 1
- Need an option for list of ignored properties HOT 1
- Same colors isn't collide HOT 3
- Clarification of ignore option HOT 2
- Reporting as colliding with variable name HOT 1
- please publish a new release to NPM HOT 2
- HSLA and allowEquivalentNotation
- Option for ignoring repeated occurrences (e.g. --ignore-repeated)
- README.md says license is Apache, but package.json says it is MIT
- Add --version option
- False collisions with gradiated color scheme
- Do not display logs with colorguard.process()
- Maintainance check-in HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from css-colorguard.