Comments (1)
Some example conversions from the css4j implementation, compared to Colorjs:
color | oklab(71.834% .0384 0.0347) |
colorjs |
---|---|---|
to lab |
lab(67% 13.404 13.791) |
lab(67.001% 13.398 13.767) |
to lch |
lch(67% 19.232 45.815) |
lch(67.001% 19.211 45.779) |
to rgb |
rgb(75.76%, 60.41%, 54.48%) |
rgb(75.749% 60.412% 54.503%) |
color | oklab(52% -0.14 0.11) |
colorjs |
---|---|---|
to lab |
lab(46.3% -47.214 50.177) |
lab(46.301% -47.22 50.146) |
to lch |
lch(46.3% 68.898 133.257) |
lch(46.301% 68.876 133.28) |
to rgb |
rgb(0%, 50.77%, 0%) |
rgb(2.6452% 50.174% 0%) |
color | oklab(44% -0.04 -0.32) |
colorjs |
---|---|---|
to lab |
lab(27.58% 73.748 -115.575) |
lab(27.569% 73.796 -115.6) |
to lch |
lch(27.58% 137.1 302.542) |
lch(27.569% 137.16 302.55) |
to rgb |
#00f |
rgb(0% 0% 99.827%) |
color | oklch(75.5% 0.16 86.8) |
colorjs |
---|---|---|
to lab |
lab(71.79% 11.228 78.738) |
lab(71.796% 11.216 78.686) |
to lch |
lch(71.79% 79.535 81.884) |
lch(71.796% 79.482 81.888) |
to rgb |
rgb(86.44%, 65.25%, 0%) |
rgb(85.951% 65.415% 0%) |
color | oklch(55% 0.2 145) |
colorjs |
---|---|---|
to lab |
lab(50.09% -56.628 51.674) |
lab(50.094% -56.63 51.643) |
to lch |
lch(50.09% 76.662 137.619) |
lch(50.094% 76.641 137.64) |
to rgb |
rgb(0%, 55.29%, 0%) |
rgb(0% 55.212% 0%) |
from css4j.
Related Issues (20)
- var() substitution in computed values was vulnerable to DoS attack
- Release version 1.3.0
- Problem with table indexing and pseudo classes HOT 4
- Support HWB colors as NSAC lexical units
- Support matching level 4 `:lang` pseudoclass in CSSOM HOT 1
- Customizable minified serialization of computed styles HOT 1
- Escaped hex serialization is not list-safe HOT 1
- Implement CSS Object Model's `CSS.escape()` method
- Make `MediaQueryList.getMediaQuery(int)` publicly visible
- [DOM] Add a getter for innerText HOT 2
- Accept the `clamp()` function as a valid HSL color component HOT 2
- Migrate to a Maven/Gradle source directory layout
- Update the behaviour of HSL, Lab, LCh, OKLab, OKLCh colors to the latest Color Level 4 specification HOT 2
- Clamping out-of-gamut lab/lch colors HOT 1
- Implement the `color()` function from Color Level 4
- Css4j lacks a single-step build HOT 7
- Regression parsing custom properties that contain a top-level asterisk
- OM expressions need stricter sanity checks for missing operands
- Use the `http.agent` system property to set the user agent string
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 css4j.