grey static method
Computes a grey shade ANSI color code based on a normalized level
from 0.0 to 1.0.
The result will be an integer ANSI code in the 232–255 grayscale range.
Implementation
static int grey(double level) => 232 + (level.clamp(0.0, 1.0) * 23).round();