addColorKeywordRgb static method
Add RGB color to the colorKeywords[] map that is used for dynamic lookup of colors by name. Colors added thid way can be used directly following the Chalk color/csscolor/x11 methods. ie. Chalk.addColorKeywordRgb('myfavorite', 0x64, 0x95, 0xED ); chalk.color.myfavorite('This is my favorite color');
Implementation
static void addColorKeywordRgb(
String colorname, int red, int green, int blue) {
ColorUtils.addColorKeywordRgb(colorname, red, green, blue);
}