lilypond-user
[Top][All Lists]
Advanced

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

Re: User defined color name


From: Andrew Bernard
Subject: Re: User defined color name
Date: Sat, 31 Dec 2016 14:12:25 +1100

Hi Samuel,

Use Scheme:

#(define myColour (rgb-color 0.898 0.208 0.172))
#(define myOtherColour (rgb-color 0.4 0.3 0.5))

{
  c'4^\markup { \with-color #myColour "some colour" }
  c'4^\markup { \with-color #myOtherColour "some other colour" }
}


Andrew



On 31 December 2016 at 06:50, address@hidden <address@hidden> wrote:
Is there a way to define a new color name for use with \with-color in
markups?


reply via email to

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