rgb function

String rgb(
  1. int r,
  2. int g,
  3. int b
)

Implementation

String rgb(int r, int g, int b) => '\x1B[38;2;$r;$g;${b}m';