score:0

Angular-chartJS uses chart-options from ChartJS Option Configuration. Set backgroundColor within options.

Source: https://github.com/jtblin/angular-chart.js

score:0

Try adding colors like this it should work:

rgba(170, 25, 33, 1)

score:3

You need to declare the full color object if you want to play with opacity. You can use hex or rgba

html:

<canvas class="chart chart-bar" 
    chart-data="data" 
    chart-labels="labels"
    chart-options="options" 
    chart-series="series"
    chart-colors="colors"></canvas>

js:

$scope.compareChart.colors = [
    {
        backgroundColor: '#b3e7fb',
        borderColor: '#b3e7fb',
        hoverBackgroundColor: '#b3e7fb',
        hoverBorderColor: '#b3e7fb'
    }
];

See https://github.com/jtblin/angular-chart.js/issues/131


Related Query

More Query from same tag