lilypond-user
[Top][All Lists]
Advanced

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

Re: User defined color name


From: Jan-Peter Voigt
Subject: Re: User defined color name
Date: Fri, 30 Dec 2016 21:07:06 +0100
User-agent: K-9 Mail for Android

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" <address@hidden>:
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 better match, I have to track down each instance of the explicit color
definition to make the adjustment. I'm hoping that I can define a
custom name and then use \with-color #customname when I need the color,
allowing me to change all instances of the color in one place. Is it
possible to do this?

--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
reply via email to

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