User ColourIDs

Forgive me if this is documented somewhere, or a silly question… but is there any specification for what enum we can start our own ColourIDs?

I notice JUCE uses 0x1******, if I start using 0x2****** would that be safe?

Yes, I’m sure that’d be ok.

Good idea, why not making this a standard somehow enforced by the library? Or at least explicit…
More or less like TCP ports, those < 1024 are reserved to the system, the others are (more or less) available to userland programs.

Is 0x2****** still a sensible range to use for application specific colourIds?

1 Like