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, rpspring...
On 2016-12-30 3:07 PM, Jan-Peter Voigt wrote:
mycol = #(rgb-color 0.898 0.208 0.172)
Perfect. Thanks.
--
✝
Br. Samuel, OSB
St. Anselm’s Abbey
Washington, DC
(R. Padraic Springuel)
PAX ☧ ΧΡΙΣΤΟΣ
___
lilypond-user mailing lis
Hello Samuel,
You can assign your color to a variable:
either
mycol = #(rgb-color 0.898 0.208 0.172)
or
#(define mycol (rgb-color 0.898 0.208 0.172))
and then use
\with-color #mycol
HTH
Jan-Peter
Am 30. Dezember 2016 20:50:17 MEZ, schrieb "Br. Samuel Springuel"
:
>Is there a way to define a n
Is there a way to define a new color name for use with \with-color in
markups?
I have a particular color which I'm trying to match and while I have
it's RGB profile and can use \with-color #(rgb-color 0.898 0.208 0.172)
each time, if I later decide that I need to adjust those numbers to get
a