Re: 256 colors
Thus spake Martin Swift on Wed, May 10, 2006 at 12:52:00AM -0700 or
thereabouts: <martin@xxxxxxxx> [2006-05-10 10:52]:
> On Tue, May 09, 2006 at 10:40:14PM -0400, cga2000 wrote:
> > Thus spake Martin Swift on Mon, May 08, 2006 at 08:18:34PM -0700 or
> > thereabouts: <martin@xxxxxxxx> [2006-05-09 00:53]:
> > > On Sat, May 06, 2006 at 06:41:50PM -0400, cga2000 wrote:
> > > > Thus spake Alain Bench on Sun, Apr 30, 2006 at 02:46:07PM +0200 or
> > > > thereabouts: <veronatif@xxxxxxx> [2006-05-03 18:41]:
> > > > Just have to figure out what color16 to color233 actually are..
> > >
> > > There is a script at
> > > <http://www.vim.org/scripts/script.php?script_id=1349>
> > > that spits out the available colours.
> >
> > Thanks for the tip. I don't know perl but this should be a good start.
>
> You don't need to. Download the script, make it executable and run it.
>
This script has the rgb values hard-coded. You don't happen to know the
OSC that queries xterm with the color number (0-255) and returns the
rgb?
Also, I will need an interactive tool.. like, I enter a color number
and it returns a sample and the rgb.. I enter the rgb value(s) and it
returns the closest xterm color(s) .. etc.
Maybe I'll ask on the vim list.
> Good luck,
Thanks much.
cga