Comments (2)
Thanks @badcat, I thought about this approach, but it seemed to me that most designers use hex colors rather than RGB, so I opted to stick with hex8. I agree that it does come at a cost of more difficult base16 calculations though for the alpha values.
For those coming here unfamiliar with hex8 there's a good tutorial here: https://css-tricks.com/8-digit-hex-codes/
from mvp.
Hmm maybe. 🤔 I have to wonder, when we finally get more support for extended RGB gamuts, if HEX8 will die off. Couple that with new/upcoming browser support for display-P3 and LCH - all of these are way easier to remember using alpha percentages as compared to the 100 value conversion chart for Hex alpha. 🖍 Quick... what's 25% alpha in hex. It's 40 of course. LOL.
from mvp.
Related Issues (20)
- Why is dark/light mode not part of the package? HOT 6
- How to make input width same as the card container HOT 4
- Unused empty space ? HOT 1
- Style <input type="submit"> as a button HOT 4
- bug in the website when opening the website in safari like the close button is floating on the screen. HOT 2
- Solarized MVP HOT 1
- Underline links HOT 2
- mvp.css v1.13 Release HOT 4
- mark HOT 1
- thought on sup HOT 4
- chevron for summary HOT 3
- mvp.html = index.html HOT 1
- details and summary HOT 2
- Incorrect right margin on home page in Firefox Android HOT 5
- dark theme HOT 4
- v1.14 is missing in releases HOT 2
- modern css reset HOT 7
- [Question] What to use for error message / warning? HOT 3
- proposal: make table headers sticky by default HOT 2
- Remove in-active link from homepage HOT 1
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 mvp.