How to use custom hex colours


#1

If i use : Colour(0x4cf59f6df) i get an error saying colour identifyer not found, code : c3861

i want to use #4c596d


#2

Maybe you have a namespace collision. Try juce::Colour(0xff4c596d).
I added the ff for the alpha channel.


#3

ah yea i see what i was doing wrong now. thanks