lightnessMap constant

Map<int, double> const lightnessMap

Lightness from AOSP defaults

Implementation

static const Map<int, double> lightnessMap = {
  0: 1.000,
  10: 0.988,
  50: 0.955,
  100: 0.913,
  200: 0.827,
  300: 0.741,
  400: 0.653,
  500: 0.562,
  600: 0.482,
  700: 0.394,
  800: 0.309,
  900: 0.222,
  1000: 0.000,
};