[GRASS5] Color prompt partially implemented, color confusion.

Helena Mitasova hmitaso at unity.ncsu.edu
Sun Apr 16 20:26:36 EDT 2006


>
The following are my suggestions - I vote for consistency - the  
changes needed are
relatively small so they should not dramatically change expected  
color tables:

> Differences in named color definitions:
>
> G_str_to_color ignores case.
> D_translate_color is case sensitive
>
> name      D_translate_color    G_str_to_color
> red          255 0 0                 same

                                                change 127 -> 128
> orange     255 128 0             255 127 0

> yellow      255 255 0             same
> green       0 255 0                 same
> blue         0 0 255                 same

                                                 change 127->128
> indigo      0 128 255             0 127 255

this is really magenta - violet should be 128 0 255
> violet       255 0 255             same    (this is a strange violet)
> black       0 0 0                      same
> white      255 255 255         same
> gray        175 175 175         127 127 127
> brown     180 77 25              same

this should be 255 0 255
> magenta 255 0 128              255 0 255  (D_ has a very strange  
> magenta)
> aqua       100 128 255          100 127 255
> grey        lookup to gray         127 127 127
> cyan        doesn't exist           0 255 255

there are some issues with grey and gray that I don't remember ,
maybe gray as 175 and grey 127 would work?
>
> How should we straighten out these colors?

others may have different suggestions,

Helena
>
> --Cedric
>
> _______________________________________________
> grass5 mailing list
> grass5 at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5




More information about the grass-dev mailing list