[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VOTE: Changing completions-common-part face's default

From: João Távora
Subject: Re: VOTE: Changing completions-common-part face's default
Date: Thu, 7 Nov 2019 13:52:55 +0000

On Thu, Nov 7, 2019 at 1:27 PM Yuri Khan <address@hidden> wrote:

> I thought I’d chime in with some actual color science to back the
> feelings in this thread.

Very nice.  Thanks.

> There is no formula for calculating how distinguishable two different
> text colors on the same background are.

I would say that the next best thing is to calculate the contrast
difference between two colors period.

blue4 vs black is 1.27
blue3 vs black is 1.87

So very good for reading the text, very bad for distinguishing
the colors in two adjacent letters.

This points to a rule for finding the perfect good compromise:
find the color equidistant to both black and white that passes
both tests.  Of all the proposed faces so far, cyan4 seems to
come closest to passing both these bars. But I found DodgerBlue3
passes the "vs white" (4.7) bar and almost passes the "vs black"
bar (4.1). 

So I'd propose that color for the GUI default.

On text terminals we could use whatever minibuffer-prompt uses.


(of course we could just let styles choose how it highlights completions
from a given face pool, but that's sadly off the table)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]