forked from Qix-/color
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
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;Metadata
Metadata
Assignees
Labels
No labels
