Comments (6)
Note that Color.js has REC2020 linear, but not REC2100 linear. It's the only one of the new spaces not currently supported by Color.js.
Because we define these spaces over the extended range, and because these two use a linear-light transfer function, and because they use the same primary chromaticities and white point, they are two names for the same thing. See
from color.js.
Any idea when those new color spaces be available in browsers?
Around the same time that Canvas HDR is supported in browsers.
from color.js.
Nice, although it is missing color space names from the (very new) CSS Color HDR
from color.js.
Any idea when those new color spaces be available in browsers?
from color.js.
I updated the pdf and xlsx files to include the new CSS HDR color spaces, in gray. Note that Color.js has REC2020 linear, but not REC2100 linear. It's the only one of the new spaces not currently supported by Color.js. Note that the Color.js ids/serialized names for REC2100-HLG and -PQ are now mismatched with CSS too. But now the only non-CSS serialized value that doesn't start with "--" is lab-d65
.
from color.js.
Note that the Color.js ids/serialized names for REC2100-HLG and -PQ are now mismatched with CSS too
Yes we should fix those serialized forms in color.js
from color.js.
Related Issues (20)
- Make it possible to serialize to the same format as parsed
- OkHSL/OkHSV does not use NaN for hue-less colors HOT 5
- Color.js is very error-happy
- Color space should be optional in `setAll()`
- Alpha is only clamped when parsing a color via the constructor, but not in `parse()`
- `color()` with more or fewer arguments should be invalid
- new Color("darkred").display() returns "rgb(0.5451 0 0)" HOT 5
- Newly broken tests HOT 7
- Customize `serialize()` output types without having to specify a whole format HOT 1
- New achromatic logic in LCH is not sufficient for all achromatic colors HOT 1
- Color.js typing for Coords is number even though functions may return null
- Thank you!
- Include htest tests in CI
- Keep track of parsing metadata on `Color` instances
- If parsing metadata is available, default to the same format when serializing
- Preparing for v0.6.0 HOT 11
- [`getAll`] Add an option(?) so that formatted coords can be returned HOT 1
- JSDoc migration broke some type re-exports
- Incorrect serialization of negative values for sRGB and HSL HOT 1
- REC.21000-HLG doesn't handle negative values when converting from rec2020-linear
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 color.js.