HTML color names table: Difference between revisions
m link to Lilypond documentation added |
m CSS colors mentioned |
||
| Line 1: | Line 1: | ||
A list of standard HTML color names according to [https://www.w3schools.com/colors/colors%20hex.asp W3Schools], the RGB color codes ready to be copied for use in Lilypond. | A list of the standard 140 HTML color names according to [https://www.w3schools.com/colors/colors%20hex.asp W3Schools], the RGB color codes ready to be copied for use in Lilypond. | ||
Lilypond does not know the HTML color names, you have to use the RGB-Code. | Lilypond does not know the HTML color names, you have to use the RGB-Code. Lilypond does know [https://lilypond.org/doc/v2.25/Documentation/notation/list-of-colors.en.html CSS color names]. | ||
*RGB color example use in Lilypond: <code style="user-select: all">\markup \with-color #(rgb-color (/ 128 255) 0 0)</code> | *RGB color example use in Lilypond: <code style="user-select: all">\markup \with-color #(rgb-color (/ 128 255) 0 0)</code> | ||