8000 use `<percentage>` for alpha channel in `toString()`? · color-js color.js · Discussion #334 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

use <percentage> for alpha channel in toString()? #334

Answered by LeaVerou
stefanprobst asked this question in Q&A
Discussion options

You must be logged in to vote

Oof, unfortunately no, you can only customize how coordinates are serialized but alpha is always a number. That's a pretty big oversight on our part, I'll convert this to an issue so we can implement it, but need to think of the best syntax to expose this nicely.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by stefanprobst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
0