How to use custom hex colours

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

i want to use #4c596d

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

1 Like

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