JavaScript Adding and changing color in angular material design?

I am trying to add some custom color in the material design base templates,

module.js

var app = angular.module('AppTool', ['ngMaterial', 'ui.router', 'ngCookies', 'ngResource','ngRoute', 'satellizer', 'myConfig.config', 'ngMdIcons'])
    .config(function($mdThemingProvider) {
         $mdThemingProvider.definePalette('amazingPaletteName', {
        '50': 'ffebee',
        '100': 'ffcdd2',
        '200': 'ef9a9a',
        '300': 'e57373',
        '400': 'ef5350',
        '500': 'f44336',
        '600': 'e53935',
        '700': 'd32f2f',
        '800': 'c62828',
        '900': 'b71c1c',
        'A100': 'ff8a80',
        'A200': 'ff5252',
        'A400': 'ff1744',
        'A700': 'd50000',
        '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'
    });

   $mdThemingProvider.theme('myTheme')
        .primaryPalette('amazingPaletteName');
});

overview.html

 <md-content>
            <md-tabs md-dynamic-height md-border-bottom class="md-primary md-hue-2" style="" >
                <md-tab class="overview_tabs" label="Overview" style="">
                    <md-content class="md-padding details-tab">
                        <ng-include src="'templates/overview.html'"></ng-include>
                    </md-content>
                </md-tab>

            </md-tabs>
        </md-content>

When I see the color of the tabs header it is showing : rgb(40, 53, 147) or #283593, where this color is coming from and how can i use the other color templates. I don't see this hex color anywhere in the amazingpalletname theme

What are these 50, 100 and all the numbers how can we use them,

Answer:1

When running the command knex migrate:make table-name The below code is what appears in the newly created file. exports.up = function (knex, Promise) { }) } exports.down = function (knex, Promise)...

When running the command knex migrate:make table-name The below code is what appears in the newly created file. exports.up = function (knex, Promise) { }) } exports.down = function (knex, Promise)...

Background I want to dynamically put some javascript code in a DIV element using innerHTML. For this, I create a DIV object on my page and two buttons. First button, when pressed should insert some ...

Background I want to dynamically put some javascript code in a DIV element using innerHTML. For this, I create a DIV object on my page and two buttons. First button, when pressed should insert some ...

First note that mod(3^146,293)=292. For some reason, inputting mod(3^146,293) in Matlab returns 275. Inputting Math.pow(3,146) % 293 in JS returns 275. This same error occurs (as far as I can tell) ...

First note that mod(3^146,293)=292. For some reason, inputting mod(3^146,293) in Matlab returns 275. Inputting Math.pow(3,146) % 293 in JS returns 275. This same error occurs (as far as I can tell) ...

In JavaScript, I have $scope.dtOptionsCandidate = DTOptionsBuilder.newOptions() .withColReorder() .withLightColumnFilter({ 1: {"type": "text"}, 2: {"type": "text"}, 3: ...

In JavaScript, I have $scope.dtOptionsCandidate = DTOptionsBuilder.newOptions() .withColReorder() .withLightColumnFilter({ 1: {"type": "text"}, 2: {"type": "text"}, 3: ...

  1. angular datatable filtering
  2. angular datatable filter dropdown
  3. angular datatable filter column
  4. angular datatable filter not working
  5. angular datatable filter data
  6. angular datatable filter each column
  7. angular material data table filtering
  8. angular-6-datatable filter
  9. angular 6 datatable filter example
  10. angular datatable custom filter
  11. angular 2 datatable filter example
  12. angular datatables column filter example
  13. angular 7 datatable filter
  14. angular 4 datatable filter
  15. angular 4 datatable filter example
  16. angular ngx-datatable filter
  17. angular 2 datatable filter
  18. angular 5 datatable filter
  19. angular p-datatable filter
  20. angular datatable search filter