Jacques Menu <[email protected]> writes:

> Hello,
>
> MusicXML allows node head colors such as <note color='#FFAC01E3’>.
>
> Is there a way to use such a hexadecimal value in LilyPond, or a way
> to map it to one of the colors names known to LP?
>
> Thanks for your help!

We don't do transparency, but a list containing three numbers between 0
and 1 is interpreted as an RGB value, so something like

#(map (lambda (x) (/ x 255)) '(#XAC #X01 #XE3))

should do the trick.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to