Colour Scheme Names - Mac OS X?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Colour Scheme Names - Mac OS X?

Dominic Evans
Hi,

My colour scheme uses a lot of the old X style naming of colours for
the guifg and guibg colours.

e.g. DodgerBlue which is equivalent to RGB 30,144,255 = #1e90ff.

These have always worked on both Win32 and Linux, but it appears they
are not defined in the Mac OS X gui version of Vim. I have always
prefferred using these descriptive names rather than the specific #rgb
notation in my .vimrc. Is there a specific reason why these don't work
on the mac version?

http://studio.imagemagick.org/MagickStudio/Color.html has a nice table
of most of the standard ones and their RGB equivalents.

If this is unlikely to make it into the Mac version, is there an easy
workaround I can do like:

if !has("DodgerBlue")
    let DodgerBlue=#1e90ff
endif

?

Cheers,
Dom
Reply | Threaded
Open this post in threaded view
|

Re: Colour Scheme Names - Mac OS X?

Jürgen Krämer

Hi,

Dominic Evans wrote:

>
> My colour scheme uses a lot of the old X style naming of colours for
> the guifg and guibg colours.
>
> e.g. DodgerBlue which is equivalent to RGB 30,144,255 = #1e90ff.
>
> These have always worked on both Win32 and Linux, but it appears they
> are not defined in the Mac OS X gui version of Vim. I have always
> prefferred using these descriptive names rather than the specific #rgb
> notation in my .vimrc. Is there a specific reason why these don't work
> on the mac version?
>
> http://studio.imagemagick.org/MagickStudio/Color.html has a nice table
> of most of the standard ones and their RGB equivalents.
>
> If this is unlikely to make it into the Mac version, is there an easy
> workaround I can do like:
>
> if !has("DodgerBlue")
>     let DodgerBlue=#1e90ff
> endif

have a look

  :help rgb.txt

Regards,
J?rgen

--
J?rgen Kr?mer                              Softwareentwicklung
HABEL GmbH & Co. KG                        mailto:[hidden email]
Hinteres ?schle 2                          Tel: +49 / 74 61 / 93 53 - 15
78604 Rietheim-Weilheim                    Fax: +49 / 74 61 / 93 53 - 99
Reply | Threaded
Open this post in threaded view
|

Re: Colour Scheme Names - Mac OS X?

Dominic Evans
So the win32 and linux installers include an rgb.txt by default but
the mac one doesn't I guess.

Cheers for the pointer, I'll just copy this file across to my Mac :)

Dom

On 14/09/05, Jürgen Krämer <[hidden email]> wrote:

>
> Hi,
>
> Dominic Evans wrote:
> >
> > My colour scheme uses a lot of the old X style naming of colours for
> > the guifg and guibg colours.
> >
> > e.g. DodgerBlue which is equivalent to RGB 30,144,255 = #1e90ff.
> >
> > These have always worked on both Win32 and Linux, but it appears they
> > are not defined in the Mac OS X gui version of Vim. I have always
> > prefferred using these descriptive names rather than the specific #rgb
> > notation in my .vimrc. Is there a specific reason why these don't work
> > on the mac version?
> >
> > http://studio.imagemagick.org/MagickStudio/Color.html has a nice table
> > of most of the standard ones and their RGB equivalents.
> >
> > If this is unlikely to make it into the Mac version, is there an easy
> > workaround I can do like:
> >
> > if !has("DodgerBlue")
> >     let DodgerBlue=#1e90ff
> > endif
>
> have a look
>
>   :help rgb.txt
>
> Regards,
> Jürgen
>
> --
> Jürgen Krämer                              Softwareentwicklung
> HABEL GmbH & Co. KG                        mailto:[hidden email]
> Hinteres Öschle 2                          Tel: +49 / 74 61 / 93 53 - 15
> 78604 Rietheim-Weilheim                    Fax: +49 / 74 61 / 93 53 - 99
>