Skip to content

Instantly share code, notes, and snippets.

@rmckeel
Last active April 13, 2018 15:39
Show Gist options
  • Save rmckeel/485457b268f03f220de98322f4d5bd56 to your computer and use it in GitHub Desktop.
Save rmckeel/485457b268f03f220de98322f4d5bd56 to your computer and use it in GitHub Desktop.
SCSS and LESS color variables for data visualization and web applications (Google Material Design)
/**
* Compilation of colors for data visualization and web application purposes.
* Compiled by Ryan McKeel.
*
* Can be easily converted to LESS by changing `$` character to `@`
*/
// similar to HighCharts colors (with tiny modifications to avoid exact colors), retrieved from http://www.highcharts.com/demo/area-basic/grid
$rmChartBlue: #058dc8;
$rmChartGreen: #51b433;
$rmChartOrange: #ed571b;
$rmChartYellow: #dddf02;
$rmChartTurquoise: #25cbe4;
// blues based on http://labs.strava.com/heatmap/#6/-120.90000/38.36000/blue/bike
$rmMapBlue-0: #061d57;
$rmMapBlue-1: #062d63;
$rmMapBlue-2: #073e70;
$rmMapBlue-3: #074e7d;
$rmMapBlue-4: #085f8a;
$rmMapBlue-5: #087097;
$rmMapBlue-6: #0980a3;
$rmMapBlue-7: #0991b0;
$rmMapBlue-8: #0aa1bd;
$rmMapBlue-9: #0ab2ca;
$rmMapBlue-10: #0bc3d7;
// retrieved from https://medium.com/graphiq-engineering/finding-the-right-color-palettes-for-data-visualizations-fcd4e707a283#.fo8h21rvw
// using 11-color variant (0..100)
$rmYellowBlue100: #11174b;
$rmYellowBlue90: #172068;
$rmYellowBlue80: #1e3082;
$rmYellowBlue70: #274b93;
$rmYellowBlue60: #3067a5;
$rmYellowBlue50: #3984b6;
$rmYellowBlue40: #43a1c7;
$rmYellowBlue30: #56b9d2;
$rmYellowBlue20: #83cacf;
$rmYellowBlue10: #afdccc;
$rmYellowBlue0: #dcecc9;
$rmYellowPurple100: #2d0f41;
$rmYellowPurple90: #3f145b;
$rmYellowPurple80: #511b75;
$rmYellowPurple70: #63218f;
$rmYellowPurple60: #822c94;
$rmYellowPurple50: #a73b8f;
$rmYellowPurple40: #cd4a89;
$rmYellowPurple30: #e8608a;
$rmYellowPurple20: #ed8495;
$rmYellowPurple10: #f3a8a1;
$rmYellowPurple0: #f9cdac;
$rmYellowBrown100: #4c3430;
$rmYellowBrown90: #793d2c;
$rmYellowBrown80: #a64629;
$rmYellowBrown70: #d35028;
$rmYellowBrown60: #e5632f;
$rmYellowBrown50: #e97e3b;
$rmYellowBrown40: #ee9747;
$rmYellowBrown30: #f2b154;
$rmYellowBrown20: #f8cb60;
$rmYellowBrown10: #fce66d;
$rmYellowBrown0: #fded86;
// retrieved from https://www.google.com/design/spec/style/color.html#color-color-palette
$rmRed-50: #ffebee;
$rmRed-100: #ffcdd2;
$rmRed-200: #ef9a9a;
$rmRed-300: #e57373;
$rmRed-400: #ef5350;
$rmRed-500: #f44336;
$rmRed-600: #e53935;
$rmRed-700: #d32f2f;
$rmRed-800: #c62828;
$rmRed-900: #b71c1c;
$rmRed-A100: #ff8a80;
$rmRed-A200: #ff5252;
$rmRed-A400: #ff1744;
$rmRed-A700: #d50000;
$rmPink-50: #fce4ec;
$rmPink-100: #f8bbd0;
$rmPink-200: #f48fb1;
$rmPink-300: #f06292;
$rmPink-400: #ec407a;
$rmPink-500: #e91e63;
$rmPink-600: #d81b60;
$rmPink-700: #c2185b;
$rmPink-800: #ad1457;
$rmPink-900: #880e4f;
$rmPink-A100: #ff80ab;
$rmPink-A200: #ff4081;
$rmPink-A400: #f50057;
$rmPink-A700: #c51162;
$rmPurple-50: #f3e5f5;
$rmPurple-100: #e1bee7;
$rmPurple-200: #ce93d8;
$rmPurple-300: #ba68c8;
$rmPurple-400: #ab47bc;
$rmPurple-500: #9c27b0;
$rmPurple-600: #8e24aa;
$rmPurple-700: #7b1fa2;
$rmPurple-800: #6a1b9a;
$rmPurple-900: #4a148c;
$rmPurple-A100: #ea80fc;
$rmPurple-A200: #e040fb;
$rmPurple-A400: #d500f9;
$rmPurple-A700: #aa00ff;
$rmDeepPurple-50: #ede7f6;
$rmDeepPurple-100: #d1c4e9;
$rmDeepPurple-200: #b39ddb;
$rmDeepPurple-300: #9575cd;
$rmDeepPurple-400: #7e57c2;
$rmDeepPurple-500: #673ab7;
$rmDeepPurple-600: #5e35b1;
$rmDeepPurple-700: #512da8;
$rmDeepPurple-800: #4527a0;
$rmDeepPurple-900: #311b92;
$rmDeepPurple-A100: #b388ff;
$rmDeepPurple-A200: #7c4dff;
$rmDeepPurple-A400: #651fff;
$rmDeepPurple-A700: #6200ea;
$rmIndigo-50: #e8eaf6;
$rmIndigo-100: #c5cae9;
$rmIndigo-200: #9fa8da;
$rmIndigo-300: #7986cb;
$rmIndigo-400: #5c6bc0;
$rmIndigo-500: #3f51b5;
$rmIndigo-600: #3949ab;
$rmIndigo-700: #303f9f;
$rmIndigo-800: #283593;
$rmIndigo-900: #1a237e;
$rmIndigo-A100: #8c9eff;
$rmIndigo-A200: #536dfe;
$rmIndigo-A400: #3d5afe;
$rmIndigo-A700: #304ffe;
$rmBlue-50: #e3f2fd;
$rmBlue-100: #bbdefb;
$rmBlue-200: #90caf9;
$rmBlue-300: #64b5f6;
$rmBlue-400: #42a5f5;
$rmBlue-500: #2196f3;
$rmBlue-600: #1e88e5;
$rmBlue-700: #1976d2;
$rmBlue-800: #1565c0;
$rmBlue-900: #0d47a1;
$rmBlue-A100: #82b1ff;
$rmBlue-A200: #448aff;
$rmBlue-A400: #2979ff;
$rmBlue-A700: #2962ff;
$rmLightBlue-50: #e1f5fe;
$rmLightBlue-100: #b3e5fc;
$rmLightBlue-200: #81d4fa;
$rmLightBlue-300: #4fc3f7;
$rmLightBlue-400: #29b6f6;
$rmLightBlue-500: #03a9f4;
$rmLightBlue-600: #039be5;
$rmLightBlue-700: #0288d1;
$rmLightBlue-800: #0277bd;
$rmLightBlue-900: #01579b;
$rmLightBlue-A100: #80d8ff;
$rmLightBlue-A200: #40c4ff;
$rmLightBlue-A400: #00b0ff;
$rmLightBlue-A700: #0091ea;
$rmCyan-50: #e0f7fa;
$rmCyan-100: #b2ebf2;
$rmCyan-200: #80deea;
$rmCyan-300: #4dd0e1;
$rmCyan-400: #26c6da;
$rmCyan-500: #00bcd4;
$rmCyan-600: #00acc1;
$rmCyan-700: #0097a7;
$rmCyan-800: #00838f;
$rmCyan-900: #006064;
$rmCyan-A100: #84ffff;
$rmCyan-A200: #18ffff;
$rmCyan-A400: #00e5ff;
$rmCyan-A700: #00b8d4;
$rmTeal-50: #e0f2f1;
$rmTeal-100: #b2dfdb;
$rmTeal-200: #80cbc4;
$rmTeal-300: #4db6ac;
$rmTeal-400: #26a69a;
$rmTeal-500: #009688;
$rmTeal-600: #00897b;
$rmTeal-700: #00796b;
$rmTeal-800: #00695c;
$rmTeal-900: #004d40;
$rmTeal-A100: #a7ffeb;
$rmTeal-A200: #64ffda;
$rmTeal-A400: #1de9b6;
$rmTeal-A700: #00bfa5;
$rmGreen-50: #e8f5e9;
$rmGreen-100: #c8e6c9;
$rmGreen-200: #a5d6a7;
$rmGreen-300: #81c784;
$rmGreen-400: #66bb6a;
$rmGreen-500: #4caf50;
$rmGreen-600: #43a047;
$rmGreen-700: #388e3c;
$rmGreen-800: #2e7d32;
$rmGreen-900: #1b5e20;
$rmGreen-A100: #b9f6ca;
$rmGreen-A200: #69f0ae;
$rmGreen-A400: #00e676;
$rmGreen-A700: #00c853;
$rmLightGreen-50: #f1f8e9;
$rmLightGreen-100: #dcedc8;
$rmLightGreen-200: #c5e1a5;
$rmLightGreen-300: #aed581;
$rmLightGreen-400: #9ccc65;
$rmLightGreen-500: #8bc34a;
$rmLightGreen-600: #7cb342;
$rmLightGreen-700: #689f38;
$rmLightGreen-800: #558b2f;
$rmLightGreen-900: #33691e;
$rmLightGreen-A100: #ccff90;
$rmLightGreen-A200: #b2ff59;
$rmLightGreen-A400: #76ff03;
$rmLightGreen-A700: #64dd17;
$rmLime-50: #f9fbe7;
$rmLime-100: #f0f4c3;
$rmLime-200: #e6ee9c;
$rmLime-300: #dce775;
$rmLime-400: #d4e157;
$rmLime-500: #cddc39;
$rmLime-600: #c0ca33;
$rmLime-700: #afb42b;
$rmLime-800: #9e9d24;
$rmLime-900: #827717;
$rmLime-A100: #f4ff81;
$rmLime-A200: #eeff41;
$rmLime-A400: #c6ff00;
$rmLime-A700: #aeea00;
$rmYellow-50: #fffde7;
$rmYellow-100: #fff9c4;
$rmYellow-200: #fff59d;
$rmYellow-300: #fff176;
$rmYellow-400: #ffee58;
$rmYellow-500: #ffeb3b;
$rmYellow-600: #fdd835;
$rmYellow-700: #fbc02d;
$rmYellow-800: #f9a825;
$rmYellow-900: #f57f17;
$rmYellow-A100: #ffff8d;
$rmYellow-A200: #ffff00;
$rmYellow-A400: #ffea00;
$rmYellow-A700: #ffd600;
$rmAmber-50: #fff8e1;
$rmAmber-100: #ffecb3;
$rmAmber-200: #ffe082;
$rmAmber-300: #ffd54f;
$rmAmber-400: #ffca28;
$rmAmber-500: #ffc107;
$rmAmber-600: #ffb300;
$rmAmber-700: #ffa000;
$rmAmber-800: #ff8f00;
$rmAmber-900: #ff6f00;
$rmAmber-A100: #ffe57f;
$rmAmber-A200: #ffd740;
$rmAmber-A400: #ffc400;
$rmAmber-A700: #ffab00;
$rmOrange-50: #fff3e0;
$rmOrange-100: #ffe0b2;
$rmOrange-200: #ffcc80;
$rmOrange-300: #ffb74d;
$rmOrange-400: #ffa726;
$rmOrange-500: #ff9800;
$rmOrange-600: #fb8c00;
$rmOrange-700: #f57c00;
$rmOrange-800: #ef6c00;
$rmOrange-900: #e65100;
$rmOrange-A100: #ffd180;
$rmOrange-A200: #ffab40;
$rmOrange-A400: #ff9100;
$rmOrange-A700: #ff6d00;
$rmDeepOrange-50: #fbe9e7;
$rmDeepOrange-100: #ffccbc;
$rmDeepOrange-200: #ffab91;
$rmDeepOrange-300: #ff8a65;
$rmDeepOrange-400: #ff7043;
$rmDeepOrange-500: #ff5722;
$rmDeepOrange-600: #f4511e;
$rmDeepOrange-700: #e64a19;
$rmDeepOrange-800: #d84315;
$rmDeepOrange-900: #bf360c;
$rmDeepOrange-A100: #ff9e80;
$rmDeepOrange-A200: #ff6e40;
$rmDeepOrange-A400: #ff3d00;
$rmDeepOrange-A700: #dd2c00;
$rmBrown-50: #efebe9;
$rmBrown-100: #d7ccc8;
$rmBrown-200: #bcaaa4;
$rmBrown-300: #a1887f;
$rmBrown-400: #8d6e63;
$rmBrown-500: #795548;
$rmBrown-600: #6d4c41;
$rmBrown-700: #5d4037;
$rmBrown-800: #4e342e;
$rmBrown-900: #3e2723;
$rmGrey-50: #fafafa;
$rmGrey-100: #f5f5f5;
$rmGrey-200: #eeeeee;
$rmGrey-300: #e0e0e0;
$rmGrey-400: #bdbdbd;
$rmGrey-500: #9e9e9e;
$rmGrey-600: #757575;
$rmGrey-700: #616161;
$rmGrey-800: #424242;
$rmGrey-900: #212121;
$rmBlueGrey-50: #eceff1;
$rmBlueGrey-100: #cfd8dc;
$rmBlueGrey-200: #b0bec5;
$rmBlueGrey-300: #90a4ae;
$rmBlueGrey-400: #78909c;
$rmBlueGrey-500: #607d8b;
$rmBlueGrey-600: #546e7a;
$rmBlueGrey-700: #455a64;
$rmBlueGrey-800: #37474f;
$rmBlueGrey-900: #263238;
$rmBlack: #000000;
$rmWhite: #ffffff;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment