Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Snit Newsgroups: comp.os.linux.advocacy,comp.sys.mac.system,alt.comp.os.windows-10,alt.cellular-phone-tech Subject: Re: Apple told to warn against charging phone in bath after man's electrocution Date: Sat, 22 Apr 2017 12:55:01 -0700 Lines: 44 Message-ID: References: <7699542da7f01f1304183cf9c297a669@dizum.com> <6WhFA.246291$kx.136356@fx33.iad> <2gfbectffppvdsm05hilbie7bjfh48qbsr@4ax.com> <2017040913334010404-savageduck1@REMOVESPAMmecom> <2017041013055897942-savageduck1@REMOVESPAMmecom> <110420171637461709%nospam@nospam.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: individual.net Je0KJdXMASRAULWJvJB3CAvOMC8o4BgqJTH8cYRamstk67Cr3t Cancel-Lock: sha1:IgGWH1JH3Lb4NXvV3hjLv8rEmXg= User-Agent: Microsoft-Entourage/12.36.0.130206 Thread-Topic: Apple told to warn against charging phone in bath after man's electrocution Thread-Index: AdK7olOr2facbzkpgUqzXmi159u+Cw== Xref: csiph.com comp.os.linux.advocacy:410598 comp.sys.mac.system:104970 alt.comp.os.windows-10:40434 alt.cellular-phone-tech:1297 On 4/22/17, 12:01 PM, in article rMNKA.6920$7Y5.5504@fx13.iad, "Mark Lloyd" wrote: > On 04/22/2017 12:28 PM, James Wilkinson Sword wrote: > > [snip] > >>>> I used to have a printer which would print with all the coloured inks >>>> if the >>>> black ran out. It wasn't perfectly black though. >>> >>> Right... it is not a "clean" of a black as black ink. >> >> Just very very dark brown :-) > > Did you know that brown is a very similar color to yellow (dark yellow)? > > Also, I use this formula to find the brightness of a RGB color: > > brightness = red * .299 + green * .587 + blue * .114 > > The constants have to do with the perception of brightness. > > [snip] Just checked my program... the values I used in the video I pointed you to: set theBright to (theRed * 0.3 + theGreen + 0.59 + theBlue * 0.11) Rounded to the closest hundredths but same value. Played around and have at least the version I ended up with set so if "theBright" was less than 200 then the normal text color was white (otherwise it was black). I did not set bold or anything else... -- Personal attacks from those who troll show their own insecurity. They cannot use reason to show the message to be wrong so they try to feel somehow superior by attacking the messenger. They cling to their attacks and ignore the message time and time again.