How to add predefined ofColor

Hi, I’m trying to define&add original colors predefined like ofColor::red, ofColor::blue.
How do you define the original color for ofColor?

Hello @yuma_taesu. In this file

You can see how openFrameworks uses templates to create the colors like blueViolet, acqua etc…

Maybe you can simply create a class that returns an ofColor object initialized with your custom colors value, defined as rgb?