Open simonbrunel opened 7 years ago
Note: issue posted by @zlumer in the deprecated "color" repository on Jul 14 '16.
I don't see that issue anywhere in the issues tracker - apologies if it got lost in the ownership handoff.
@Qix- the issue was in chartjs/color
repository that we decided to remove in favor of this one which is a real fork of your work.
I updated the link over index.js
in the ticket description.
Aha, gotcha. :)
I'd be down to change the coefficients in color
. The note about the current coefficients being archaic and geared towards NTSC phosphors is quite interesting - it appears the tutorial the original author of that function used for the YIQ formula didn't do a whole lot of research.
I'm curious to see if there is a drastic change in the output, though. I've opened qix-/color#107 to do some research when I get a spare moment.
Side note: see https://github.com/chartjs/Chart.js/issues/3823#issuecomment-275078341.
Haha, I'm trying to remember why I even reported this issue in the first place. Don't have a clue where I used it, but pretty sure it should be changed according to standard.
See index.js:201
As stated here: ColorFAQ
The proposed formula is as follows:
Or