docs: function definePalette(name, color) {
        var lum = agneta.colorLuminance;
  
        $mdThemingProvider.definePalette(name, {
          '50': lum(color, -0.5),
          '100': lum(color, -0.4),
          '200': lum(color, -0.3),
          '300': lum(color, -0.2),
          '400': lum(color, -0.1),
          '500': lum(color, 0),
          '600': lum(color, 0.05),
          '700': lum(color, 0.1),
          '800': lum(color, 0.15),
          '900': lum(color, 0.2),
          A100: lum(color, 0.25),
          A200: lum(color, 0.3),
          A400: lum(color, 0.25),
          A700: lum(color, 0.3),
          contrastDefaultColor: 'light', // whether, by default, text (contrast)
          // on this palette should be dark or light
          contrastDarkColors: [
            '50',
            '100', //hues which contrast should be 'dark' by default
            '200',
            '300',
            '400',
            'A100'
          ],
          contrastLightColors: undefined // could also specify this if default was 'dark'
        });
      }