Hi, I noted that graphics::Color doesn't have a keyword for the colour magenta (#FF00FF).
"Magenta" is commonly used here in the UK, is a named colour in CSS 3 and CSS 4(I couldn't find specs for CSS 1 and 2!), and as the MDN page on <named-color> explains, magenta is an alias for fuchsia.
Thanks for adding aliases for the other "English" keywords such as grey(and cyan?) - it'd be nice if magenta could be added also to complete the collection!
brianMon 23 Dec 2024
Just a bug then - all the CSS 4 keywords should be mapped. Do you want to compare what is there against spec and make pull request?
SlimerDude Mon 23 Dec 2024
Hi, I noted that
graphics::Colordoesn't have a keyword for the colourmagenta (#FF00FF)."Magenta" is commonly used here in the UK, is a named colour in CSS 3 and CSS 4 (I couldn't find specs for CSS 1 and 2!), and as the MDN page on <named-color> explains,
magentais an alias forfuchsia.Thanks for adding aliases for the other "English" keywords such as
grey(andcyan?) - it'd be nice ifmagentacould be added also to complete the collection!brian Mon 23 Dec 2024
Just a bug then - all the CSS 4 keywords should be mapped. Do you want to compare what is there against spec and make pull request?
https://github.com/fantom-lang/fantom/blob/master/src/graphics/fan/Color.fan#L417