You're perfectly right. I recognized too late that only 27 Colors are
available:

(1) -> color(28)

   >> Error detected within library code:
   Color should be in the range 1..27

Still, it's a mystery. In the first place I thought it was HSV, but "hue"
here seems to me entirely unrelated. Now I guess it's something like RGBY
with a "weight" function.
Anyway, a static map will do, it doesn't need to be exact).

On 19 October 2016 at 05:06, oldk1331 <oldk1...@gmail.com> wrote:

> > I'm trying to map draw options to frontend specific options. Most
> > but colors are easy. Is there a package or example how to convert Color,
> > Palette to something comprehensible (to me), e.g. RGB?
>
> Seems there should be a more sophisticated Color domain.
> For now since the colors are predefined, one can enumerate
> the RGB values of these colors, correct?
>
> --
> You received this message because you are subscribed to the Google Groups
> "FriCAS - computer algebra system" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to fricas-devel+unsubscr...@googlegroups.com.
> To post to this group, send email to fricas-devel@googlegroups.com.
> Visit this group at https://groups.google.com/group/fricas-devel.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to fricas-devel+unsubscr...@googlegroups.com.
To post to this group, send email to fricas-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to