Chart.js 라이브러리 : colorschemaes 사용하기

CDN
<script src="https://cdn.jsdelivr.net/npm/chart.js@2.8.0"></script>
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-colorschemes"></script>



Option
var config = {
    type : ~~ ,
    data : {
        labels : ~~ ,
        datasets : ~~ ,
    },
    options : {
	plugins : {
		colorschemes : {
			scheme : 'brewer.YlOrBr4'
                        // 원하는 Color Chart 를 입력
            }
        }
    },
});

Ref

https://nagix.github.io/chartjs-plugin-colorschemes
Color Chart