Feature request with code : new W3.CSS Colours

gui

#1

Hello guys !

I discovered recently that the W3C adds new colours in the specifications, and that some of them are not in the JUCE class Colours. So I added myself the three remaining : ghostwhite, moccasin, and rebeccapurple (there is a story about the last one, it’s a memorial about Eric A. Meyer’s daughter)

Here is the code for these additions : https://www.dropbox.com/s/glqagcaimn3hehe/juce_Colours.zip?dl=0

Could these files be added/updated in the JUCE base code ? Thanks in advance !

Ivan


#2

Thanks Ivan, I’ve added them to develop here. lawngreen was also missing so I’ve added that too.


#3

Thanks ! (oops I missed lawngreen then)