Jump to content

Talk:HTML color names table: Difference between revisions

From LilyPond wiki
Latest comment: 24 December 2025 by Lemzwerg in topic Example?
Example?: Reply
mNo edit summary
Line 6: Line 6:
:Function <code>rgb-color</code> only makes sense IMHO if you actually have values between 0 and&nbsp;1. -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 12:35, 24 December 2025 (UTC)
:Function <code>rgb-color</code> only makes sense IMHO if you actually have values between 0 and&nbsp;1. -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 12:35, 24 December 2025 (UTC)
::Ok, it is new to me that Lilypond speaks Hexcodes, I cannot find that anywhere in the documentation. [[User:Manuela|Manuela]] ([[User talk:Manuela|talk]]) 15:40, 24 December 2025 (UTC)
::Ok, it is new to me that Lilypond speaks Hexcodes, I cannot find that anywhere in the documentation. [[User:Manuela|Manuela]] ([[User talk:Manuela|talk]]) 15:40, 24 December 2025 (UTC)
::::: It's ''exactly'' documented at the link you give :-) -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 16:09, 24 December 2025 (UTC)
::: It's ''exactly'' documented at the link you give :-) -- [[User:Lemzwerg|Lemzwerg]] ([[User talk:Lemzwerg|talk]]) 16:09, 24 December 2025 (UTC)

Revision as of 16:09, 24 December 2025

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