[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Emacs Survey: Toolbars
From: |
Drew Adams |
Subject: |
RE: Emacs Survey: Toolbars |
Date: |
Fri, 25 Dec 2020 12:25:57 -0800 (PST) |
> > > Do you have suggestion for automatically computing "it's not too hard"
> > > color mapping for "inverse video" "pure" text?
> >
> > Convert the color's YUV and invert the Y.
>
> Possibly better: keep the hue and saturation and recalculate luminance
> to preserve the relative contrast to background color.
There are lots of ways to "invert" or complement a color.
I just use RGB complementing - good enough for most
purposes for Emacs foregrounds and backgrounds. Function
`color-complement' in color.el does that. So does
`hexrgb-complement' in hexrgb.el.
Or I use `hexrgb-hue-complement',
`hexrgb-saturation-complement', or `hexrgb-value-complement'
If I just want to complement one of those components.
- Re: Emacs Survey: Toolbars, (continued)
- Re: Emacs Survey: Toolbars, Tomas Hlavaty, 2020/12/23
- Re: Emacs Survey: Toolbars, Richard Stallman, 2020/12/24
- Re: Emacs Survey: Toolbars, Tomas Hlavaty, 2020/12/25
- Re: Emacs Survey: Toolbars, Stefan Monnier, 2020/12/25
- Re: Emacs Survey: Toolbars, Tomas Hlavaty, 2020/12/25
- Re: Emacs Survey: Toolbars, Stefan Monnier, 2020/12/25
- Re: Emacs Survey: Toolbars, Yuri Khan, 2020/12/25
- Re: Emacs Survey: Toolbars, Tomas Hlavaty, 2020/12/25
- Re: Emacs Survey: Toolbars, Yuri Khan, 2020/12/25
- Re: Emacs Survey: Toolbars, Tomas Hlavaty, 2020/12/25
- RE: Emacs Survey: Toolbars,
Drew Adams <=
- RE: Emacs Survey: Toolbars, Tomas Hlavaty, 2020/12/25
- Re: Emacs Survey: Toolbars, Tomas Hlavaty, 2020/12/25
- Re: Emacs Survey: Toolbars, Eli Zaretskii, 2020/12/22
- Re: Emacs Survey: Toolbars, Arthur Miller, 2020/12/22
- Re: Emacs Survey: Toolbars, Eli Zaretskii, 2020/12/22
- Re: Emacs Survey: Toolbars, Arthur Miller, 2020/12/22
- Re: Emacs Survey: Toolbars, Jean Louis, 2020/12/22
- Re: Emacs Survey: Toolbars, Arthur Miller, 2020/12/22
- Re: Emacs Survey: Toolbars, Richard Stallman, 2020/12/22
- Re: Emacs Survey: Toolbars, Arthur Miller, 2020/12/23