W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2011

Ensuring that a contrast ratio of at least 4.5:1

From: Дмитрий <bloger@ngs.ru>
Date: Tue, 8 Feb 2011 19:40:15 +0400
To: 54-tidy <html-tidy@w3.org>
Message-Id: <bAbvn4ioh1sThjm4iwtOyJanvxpHe4zY@bloger_ngs>
How do you evaluate an "R[8bit]" for "R[sRGB] = R[8bit]/255"?
I got correct result (21.00) for foreground=#ffffff, background=#000000,
but incorrect (0.05) for foreground=#000000, background=#FFFFFF.

Foreground=#000000, then RsRGB=00. RsGRB < 0.03928, then
R/12.92=0.0000. The same results for G, B. L1=0.0000.
-- 
() кампания ascii ribbon - против писем в html формате
/\ www.asciiribbon.org   - против проприетарных вложений
.::Nigma.ru отменяет google::.
Received on Tuesday, 8 February 2011 15:41:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:14:00 GMT