lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Color variables/symbols


From: Luca Fascione
Subject: Re: Color variables/symbols
Date: Sat, 26 Nov 2022 20:52:30 +0100

Why the difference in value? Red is 10% off, green more like 30%?

What's up with that?

L

On Sat, 26 Nov 2022, 19:21 Werner LEMBERG, <wl@gnu.org> wrote:

>
> >>> lukas@Aquarium:~/git/lilypond/scm(master)$ git grep darkred
> >>> color.scm:    (darkred 0.54509803921568623 0 0)
> >>> output-lib.scm:(define-public darkred     '(0.5 0.0 0.0))
> >>>
> >>> lukas@Aquarium:~/git/lilypond/scm(master)$ git grep darkgreen
> >>> color.scm:    (darkgreen 0 0.39215686274509803 0)
> >>> output-lib.scm:(define-public darkgreen   '(0.0 0.5 0.0))
> >>>
> >>> @everyone: Is this as it should be?
> >> Yes.  The non-public entries are only accessible with `(x11-color)`
> >> or `css-color`.
> >
> > I'm not sure that's true. What made me stumble is the following
> > behaviour:
> >
> > \version "2.23.10"
> >
> > {
> >   \override NoteHead.color = darkgreen
> >   c'4
> >   \override NoteHead.color = #darkgreen
> >   c'4
> > }
> >
> > creating:
> >
> > I'm not sure this is ideal.
>
> Oh, oh.  I agree.  However, explaining and fixing this is beyond my
> Scheme abilities...
>
>
>    Werner
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]