stoneColors function
Stone colors from one body color: a lit face, the body, a shaded face, and the dust it makes.
Implementation
StoneColors stoneColors(Object cRaw) {
final c = hex(cRaw);
return StoneColors(
mix(scaleColor(c, 1.35), kWhite, 0.08),
c,
scaleColor(c, 0.64),
mix(scaleColor(c, 1.2), rgb(150, 140, 150), 0.3),
);
}