onRgb method

String onRgb(
  1. num red,
  2. num green,
  3. num blue
)

Create String with a background color with the specified RGB values.

Implementation

String onRgb(num red, num green, num blue) =>
    (_chalk.onRgb(red, green, blue))(this);