24using Color = std::array<unsigned char, 4>;
29 unsigned char a = 255);
37 std::map<std::string, DataHolderLib::Color>& colors);
Color getRandomColor()
Returns a random RGB colour.
Color createColor(unsigned char r, unsigned char g, unsigned char b, unsigned char a)
Color getColor(const std::string &id, std::map< std::string, Color > &colors)
std::array< unsigned char, 4 > Color