#2933 Wot no Magenta?

SlimerDude Mon 23 Dec

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!

brian Mon 23 Dec

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

Login or Signup to reply.