Bug #197
nick colors sometime gives very bad contrast
Status: | Closed | Start: | 09/27/2009 | |
Priority: | High | Due date: | ||
Assigned to: | Mirco Bauer | % Done: | 100% |
|
Category: | Frontend GNOME | |||
Target version: | 0.6.4.1 | |||
Complexity: | Found in Version: | |||
Votes: | 0 |
Description
The nick color feature sometimes uses colors for nicks with a very contrast.
With a white background "Xoc^owned^alle" for example is impossible to read, it looks like white on white.
Associated revisions
Revision 2903f8dd4eed08971ae55b5b5f0979c519e1b899
Replaced the nick color algorithm with one based on the WCAG of W3C producing colors with a perfect contrast. (closes: #197)
History
Updated by Mirco Bauer 5552 days ago
The W3C has a contrast defintion that might help to implement to proper algorithm: http://www.w3.org/TR/WCAG/#contrast-ratiodef
Updated by Mirco Bauer 5552 days ago
PHP implementations of different contrast algorithms: http://www.splitbrain.org/blog/2008-09/18-calculating%5Fcolor%5Fcontrast%5Fwith%5Fphp
Updated by Mirco Bauer 5551 days ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset 2903f8dd4eed08971ae55b5b5f0979c519e1b899.