Path: csiph.com!.POSTED.208-71-239-109.cust.centrio.cz!not-for-mail From: Cezary Tomczyk Newsgroups: comp.lang.javascript Subject: Re: Finding a real background color of an element Date: Fri, 31 Aug 2018 22:30:31 +0200 Organization: csiph.com Internet News Service Message-ID: References: <5e2c4fe7-9a52-2552-8b5d-d269fd83e923@PointedEars.de> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 31 Aug 2018 20:30:32 -0000 (UTC) Injection-Info: csiph.com; posting-host="208-71-239-109.cust.centrio.cz:109.239.71.208"; logging-data="48373"; mail-complaints-to="admin@kev009.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 In-Reply-To: <5e2c4fe7-9a52-2552-8b5d-d269fd83e923@PointedEars.de> Content-Language: en-US Xref: csiph.com comp.lang.javascript:35548 On 29/08/2018 22:12, Thomas 'PointedEars' Lahn wrote: > Cezary Tomczyk wrote: >> I am trying to figure it out how to determine a real background color of >> an element that is visible on the screen. > > Why? To calculate high contrast ratio. -- Cezary Tomczyk http://www.ctomczyk.pl/