[IPython-dev] default colorscheme

Fernando Perez fperez.net at gmail.com
Wed Jul 6 03:43:41 EDT 2011


On Wed, Jul 6, 2011 at 12:30 AM, Min RK <benjaminrk at gmail.com> wrote:
> That should cover just about everything people will actually use, but just for fun is green 255 dark, as that formula would suggest?
>
> By that formula, rgb(60,255,60) is also dark, which is pretty far from true. It's also pretty hideous, so not a specific edge case we should worry about.
>
> (I'm not suggesting that we use a more precise formula, just noting that the average doesn't always get the right answer).

That's why I said 'quick and dirty' :)  It's the crudest possible
cutoff, bisecting the luminosity range, and it doesn't take into
account any of the (valid) visual complexities you allude to.  But it
will separate between very light and really dark reasonably well,
messing up other wonky cases.

Cheers,

f



More information about the IPython-dev mailing list