[GRASS-user] Color names?

Hi

I am looking for a list of the available color names one can use
(e.g.in r.colors), but I couldn't find them. Could anybody provide me
with a link of where I can find them or a list of them?

Thanks

Rainer

--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Faculty of Science
Natural Sciences Building
Private Bag X1
University of Stellenbosch
Matieland 7602
South Africa

2009/1/16 Rainer M Krug <r.m.krug@gmail.com>:

I am looking for a list of the available color names one can use
(e.g.in r.colors), but I couldn't find them. Could anybody provide me
with a link of where I can find them or a list of them?

r.colors -l

?

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *

On Fri, Jan 16, 2009 at 2:59 PM, Martin Landa <landa.martin@gmail.com> wrote:

2009/1/16 Rainer M Krug <r.m.krug@gmail.com>:

I am looking for a list of the available color names one can use
(e.g.in r.colors), but I couldn't find them. Could anybody provide me
with a link of where I can find them or a list of them?

r.colors -l

Thanks for the prompt response - but this gives me the color maps, and
not the names of individual colors. But I found them in the help for
ps.map.

Rainer

?

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *

--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Faculty of Science
Natural Sciences Building
Private Bag X1
University of Stellenbosch
Matieland 7602
South Africa

d.colorlist ?

2009/1/16 Rainer M Krug <r.m.krug@gmail.com>:

On Fri, Jan 16, 2009 at 2:59 PM, Martin Landa <landa.martin@gmail.com> wrote:

2009/1/16 Rainer M Krug <r.m.krug@gmail.com>:

I am looking for a list of the available color names one can use
(e.g.in r.colors), but I couldn't find them. Could anybody provide me
with a link of where I can find them or a list of them?

r.colors -l

Thanks for the prompt response - but this gives me the color maps, and
not the names of individual colors. But I found them in the help for
ps.map.

Rainer

?

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *

--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Faculty of Science
Natural Sciences Building
Private Bag X1
University of Stellenbosch
Matieland 7602
South Africa
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
--
Paolo C.
Lat. 44° 39' 11.08'' N Long. 7° 23' 25.26'' E

Rainer M Krug wrote:

Hi

I am looking for a list of the available color names one can use
(e.g.in r.colors), but I couldn't find them. Could anybody provide me
with a link of where I can find them or a list of them?

lib/gis/color_str.c contains the list, as does include/colors.h, and
the output from d.colorlist.

FWIW, the list is:

  black
  red
  green
  blue
  yellow
  cyan
  magenta
  white
  grey (alias gray)
  orange
  aqua
  indigo
  violet (alias purple)
  brown

This list is used for most GRASS commands, but *not* by ps.map, which
has its own table. Although ps.map supports the same set of names, the
actual colours differ in a few cases:

  name ps.map other
    R G B R G B

  grey 0.75 0.75 0.75 0.50 0.50 0.50
  aqua 0.00 0.75 0.75 0.40 0.50 1.00
  brown 0.75 0.50 0.25 0.70 0.30 0.10

--
Glynn Clements <glynn@gclements.plus.com>

Thanks a lot - that answers my question

Rainer

On Sat, Jan 17, 2009 at 1:10 PM, Glynn Clements
<glynn@gclements.plus.com> wrote:

Rainer M Krug wrote:

Hi

I am looking for a list of the available color names one can use
(e.g.in r.colors), but I couldn't find them. Could anybody provide me
with a link of where I can find them or a list of them?

lib/gis/color_str.c contains the list, as does include/colors.h, and
the output from d.colorlist.

FWIW, the list is:

       black
       red
       green
       blue
       yellow
       cyan
       magenta
       white
       grey (alias gray)
       orange
       aqua
       indigo
       violet (alias purple)
       brown

This list is used for most GRASS commands, but *not* by ps.map, which
has its own table. Although ps.map supports the same set of names, the
actual colours differ in a few cases:

       name ps.map other
               R G B R G B

       grey 0.75 0.75 0.75 0.50 0.50 0.50
       aqua 0.00 0.75 0.75 0.40 0.50 1.00
       brown 0.75 0.50 0.25 0.70 0.30 0.10

--
Glynn Clements <glynn@gclements.plus.com>

--
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Faculty of Science
Natural Sciences Building
Private Bag X1
University of Stellenbosch
Matieland 7602
South Africa