help-bash
[Top][All Lists]
Advanced

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

Re: Bash colour codes


From: Christopher Dimech
Subject: Re: Bash colour codes
Date: Sat, 17 Apr 2021 00:29:57 +0200

Changing from 5; to 2; should work

Try

\e[48;2;200;100;50;38;2;50;100;200m  # use this

instead of

\e[48;5;200;100;50;38;5;50;100;200m  # don't use this


---------------------
Christopher Dimech
General Administrator - Naiad Informatics - GNU Project (Geocomputation)
- Geophysical Simulation
- Geological Subsurface Mapping
- Disaster Preparedness and Mitigation
- Natural Resource Exploration and Production
- Free Software Advocacy


> Sent: Saturday, April 17, 2021 at 9:55 AM
> From: pauline-galea@gmx.com
> To: help-bash@gnu.org
> Subject: Re: Bash colour codes
>
> I am playing with rgb terminal colours, and getting some difficulties
> showing the colours.  Is the following format correct?
>
> \e[48;5;200;100;50;38;5;50;100;200m
>
>
>
>
> > Sent: Wednesday, April 14, 2021 at 8:34 AM
> > From: pauline-galea@gmx.com
> > To: "Greg Wooledge" <greg@wooledge.org>
> > Cc: help-bash@gnu.org
> > Subject: Re: Bash colour codes
> >
> >
> > I am using 'Terminator'.
> >
> >
> >
> > > Sent: Wednesday, April 14, 2021 at 8:29 AM
> > > From: "Greg Wooledge" <greg@wooledge.org>
> > > To: help-bash@gnu.org
> > > Subject: Re: Bash colour codes
> > >
> > > On Tue, Apr 13, 2021 at 10:22:02PM +0200, Christopher Dimech wrote:
> > > > There seems to be something different between bold (\e[1;41;32m) and
> > > > bright (\e[0;41;92m and \e[0;101;32m).
> > >
> > > Without knowing *which terminal* you use, the question has no meaning.
> > > Actually it's not even a question.  It's just a statement.
> > >
> > > If you do a Google (or Bing, or Duck-Duck-Go, or whatever) search,
> > > you can find documentation for terminal escape sequences for your
> > > terminal.
> > >
> > > Here are a few for xterm:
> > >
> > > https://www.x.org/docs/xterm/ctlseqs.pdf
> > > https://invisible-island.net/xterm/ctlseqs/ctlseqs.html
> > >
> > > If your terminal isn't xterm, well, you know what to do.
> > >
> > >
> >
> >
>
>



reply via email to

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