enableBrowserColor = function (options) {
    options = angular.isObject(options) ? options : {};

    var theme = options.theme || 'default';
    var hue = options.hue || '800';

    var palette = PALETTES[options.palette] ||
      PALETTES[THEMES[theme].colors[options.palette || 'primary'].name];

    var color = angular.isObject(palette[hue]) ? palette[hue].hex : palette[hue];
    if (color.substr(0, 1) !== '#') color = '#' + color;

    return setBrowserColor(color);
  }
@ngdoc method
@name $mdThemingProvider#enableBrowserColor
@description
Enables browser header coloring. For more info please visit
<a href="https://developers.google.com/web/fundamentals/design-and-ui/browser-customization/theme-color">
  Web Fundamentals</a>.
@param {object=} options Options for the browser color, which include:<br/>
- `theme` - `{string}`: A defined theme via `$mdThemeProvider` to use the palettes from. Default is `default` theme. <br/>
- `palette` - `{string}`:  Can be any one of the basic material design palettes, extended defined palettes, or `primary`,
 `accent`, `background`, and `warn`. Default is `primary`.<br/>
- `hue` -  `{string}`: The hue from the selected palette. Default is `800`.<br/>
@returns {function} Function that removes the browser coloring when called.