What is the Cocos-2dx class equivalent to UIColor ?

I would like to know what is the Cocos2d-x class similar to Objective C UIColor class.

Here is the Objective C code:

UIColor *myColor =[UIColor colorWithRed:(float)71/255 green:(float)12/255 blue:(float)54/255 alpha:1.0];

Thanks !

1 Like

ccColor4B c4 = {255, 255, 255, 255};

…or…

ccColor3B c3 = ccc3(255, 255, 255) );