keyword method

String keyword(
  1. String colorKeyword
)

Returns a String with the foreground color set to the color represented by the passed in color keyword. This accepts all of the standard X11/CSS/SVG color names, and the user can extend the list of accepted color keywords using the addColorKeywordRgb() and addColorKeywordHex() methods

Implementation

String keyword(String colorKeyword) => (_chalk.keyword(colorKeyword))(this);