Color withShadeCode(int shadeCode) { final hsl = HSLColor.fromColor(this); final lighter = hsl.withLightness((hsl.lightness + shadeCode / 900) % 1); return lighter.toColor(); }