Function darken3B

#include <Geode/utils/cocos.hpp>cocos2d::ccColor3Bdarken3B(,
intamount
)

Darkens the color’s rgb values by a given amount.

Parameters

color

The color to darken

amount

The amount to darken
Return value
Converted color
Examples0