aboutsummaryrefslogtreecommitdiff
path: root/test-nick-colors
Commit message (Collapse)AuthorAgeFilesLines
* degesch: pick colours based on relative luminancePřemysl Eric Janouch2021-06-151-0/+23
Replaces the inaccurate Rec. 709 luma we used to use before. This is the first feature here that requires libm, which doesn't seem to be a particularly great sacrifice. Moreover, I've rectified that the input isn't linear in sRGB, and then was even normalized wrong for the luma formula.