Colour contrast function

Matthew Woehlke mw_triad at users.sourceforge.net
Wed Jun 13 00:11:06 BST 2007


Olaf Schmidt wrote:
> I once wrote a colour contrast evaluation function in PHP, based on the W3C 
> guidelines for accessibility.
> 
> http://accessibility.kde.org/oxygen.php
> http://websvn.kde.org/trunk/www/sites/accessibility/oxygen.php?revision=569816&view=markup
> 
> Would someone be willing to port this to C++ for kdelibs?

Are there still objections, or can this (using Olaf's color model) be 
added to KColorUtils?

(If that's ok, can darken/lighten using this model also be added? These 
would be used by color shading (tentatively KColorShades), see 
http://permalink.gmane.org/gmane.comp.kde.devel.core/43099, and of 
course by anyone else wanting them...)

-- 
Matthew
Any sufficiently advanced bug is indistinguishable from a feature.
(...with apologies to Arthur C. Clarke)





More information about the kde-core-devel mailing list