Jump to content

Talk:HTML color names table

From LilyPond wiki
Revision as of 16:09, 24 December 2025 by Lemzwerg (talk | contribs)

Latest comment: 24 December 2025 by Lemzwerg in topic Example?

Example?

Please add a LilyPond code example (and/or link to the documentation) how to include such an HTML color. -- Lemzwerg (talk) 04:56, 24 December 2025 (UTC)Reply

Thanks for showing the LilyPond code; however, why do you use rgb-color? Why not something like \override Flag.color = "#E30074" or \markup \with-color "#E30074" instead, which is much simpler? You could describe this in the introduction, then leaving out the last column completely...
Function rgb-color only makes sense IMHO if you actually have values between 0 and 1. -- Lemzwerg (talk) 12:35, 24 December 2025 (UTC)Reply
Ok, it is new to me that Lilypond speaks Hexcodes, I cannot find that anywhere in the documentation. Manuela (talk) 15:40, 24 December 2025 (UTC)Reply
It's exactly documented at the link you give :-) -- Lemzwerg (talk) 16:09, 24 December 2025 (UTC)Reply