highlight static method
Implementation
static Color highlight(Color color, [double amount = .1]) {
assert(amount >= 0 && amount <= 1);
double brightness = color.computeLuminance(); // expensive
return brightness < 0.5 ? darken(color, amount) : lighten(color, amount);
}