fixIfDisliked function
A dark yellow-green that is not neutral reads as spoiled, so it is lightened.
Implementation
Hct fixIfDisliked(Hct hct) {
final disliked =
hct.hue.round() >= 90.0 &&
hct.hue.round() <= 111.0 &&
hct.chroma.round() > 16.0 &&
hct.tone.round() < 65.0;
return disliked ? Hct.from(hct.hue, hct.chroma, 70.0) : hct;
}