Adam Barth
49b183c502
Estimate the brightness of the primary color ( #10071 )
...
If the caller doesn't explicitly give the brightness of the primary
color, we now estimate it using an algorithm from the Web Content
Accessibility Guidelines.
Also, this patch contains a function that converts RGB colors to
HSVColors. I was originally going to use that, but the WCAG algorithm
ended up seeming like a better choice. The patch still includes this
function because it's generally useful.
Fixes #5718
2017-05-14 10:09:52 -07:00
..
2017-04-27 15:02:59 -07:00
2017-05-03 12:56:18 -07:00
2017-04-21 23:09:42 +02:00
2017-04-12 15:06:12 -07:00
2017-05-08 10:13:13 -07:00
2017-04-27 15:02:59 -07:00
2017-04-21 23:09:42 +02:00
2017-04-12 15:06:12 -07:00
2017-04-21 23:09:42 +02:00
2017-04-27 14:19:01 -07:00
2017-04-07 12:24:32 -07:00
2017-04-07 12:24:32 -07:00
2017-04-12 15:06:12 -07:00
2017-04-23 22:37:29 +02:00
2017-04-27 14:19:01 -07:00
2017-04-23 22:37:29 +02:00
2017-04-27 15:02:59 -07:00
2017-04-12 15:06:12 -07:00
2017-04-23 22:37:29 +02:00
2017-04-21 23:09:42 +02:00
2017-04-13 13:04:51 -07:00
2017-04-27 14:19:01 -07:00
2017-04-27 15:02:59 -07:00
2017-04-23 22:37:29 +02:00
2017-04-23 22:37:29 +02:00
2017-04-12 15:06:12 -07:00
2017-04-25 15:06:02 -07:00
2017-04-21 23:09:42 +02:00
2017-05-03 12:11:01 -07:00
2017-05-03 12:11:01 -07:00
2017-04-12 15:06:12 -07:00
2017-04-18 14:15:32 -07:00
2017-04-28 12:50:20 -07:00
2017-04-07 12:24:32 -07:00
2017-05-02 09:14:50 -07:00
2017-05-02 10:38:50 -07:00
2017-04-20 08:59:05 +02:00
2017-04-12 15:06:12 -07:00
2017-04-27 15:02:59 -07:00
2017-04-07 12:24:32 -07:00
2017-04-12 15:06:12 -07:00
2017-04-12 15:06:12 -07:00
2017-04-23 22:37:29 +02:00
2017-04-21 23:09:42 +02:00
2017-04-24 09:46:49 -07:00
2017-04-28 15:33:38 -07:00
2017-05-14 10:09:52 -07:00
2017-04-23 22:37:29 +02:00
2017-04-21 23:09:42 +02:00
2017-04-27 14:19:01 -07:00
2017-05-09 16:32:01 -07:00
2017-04-27 15:02:59 -07:00
2017-04-21 23:09:42 +02:00