chartjs / chartjs-color Goto Github PK
View Code? Open in Web Editor NEWThis project forked from qix-/color
JavaScript color conversion and manipulation library
License: MIT License
This project forked from qix-/color
JavaScript color conversion and manipulation library
License: MIT License
Note: issue posted by @zlumer in the deprecated "color" repository on Jul 14 '16.
See index.js:201
As stated here: ColorFAQ
The coefficients 0.299, 0.587 and 0.114 properly computed luminance for monitors having phosphors that were contemporary at the introduction of NTSC television in 1953. They are still appropriate for computing video luma to be discussed below in section 11. However, these coefficients do not accurately compute luminance for contemporary monitors.
The proposed formula is as follows:
Or
yiq = (rgb[0] * 2126 + rgb[1] * 7152 + rgb[2] * 722) / 10000;
I see a release for version 2.4.0 here: https://github.com/chartjs/chartjs-color/tree/2.4.0
However, there is no corresponding 2.4.0 version in npm, and package.json
still reports version 2.3.0
in master. Please fix so that people can take advantage of the dependency update from #6.
I noticed that color-name
gets included twice in two different versions.
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ └─┬ [email protected]
│ └── [email protected]
When I run karma-typescript unit tests, I get an issue related to color-convert dependency.
Please, update color-convert dependency from 0.5.3 to latest version.
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.