24-bit colors question
Yakov Lerner
iler.ml at gmail.com
Sun Mar 19 21:38:44 CET 2006
On 3/19/06, Marc Lehmann <schmorp at schmorp.de> wrote:
> On Sun, Mar 19, 2006 at 12:04:29PM +0000, Yakov Lerner <iler.ml at gmail.com> wrote:
> > I use vim in various terminals emulators. My dream is
> > to get 24-bit rgb colors in vim under terminal emulator.
> >
> > It would be fairly easy to patch vim to issue 24-bit RGB
> > values if urxvt supported this. Is it possible to get urxvt
> > to accept real RGB values for colors from vim ?
>
> rxvt, xterm and rxvt-unicode all support 24 rgb values for colors, see
> urxvt(7) for details on how to set them (look for the xterm OSC sequences,
> they allow you to specify x color names).
Thanks.
I found escape sequences in the doc. Can I have clarification regaring these:
Ps = 10 Change colour of text foreground to Pt
Ps = 11 Change colour of text background to Pt
1. Does what you said mean that X color names can be used
as Pt in Ps = 10 and PS=11 sequences ?
2. Are X-standard notation of RGB (#RRGGBB that's accepted in all color
resources and in -fg/-bg values) also accepted in Pt values ?
Thanks
Yakov
More information about the rxvt-unicode
mailing list