Move color palatte configuration code into a function
Move color palatte configuration code into a function

lukepfister/gnome-terminal-colors-monokai,ifels/gnome-terminal-colors-solarized,pricco/gnome-terminal-colors-monokai,dlnguyen/solarized,lvfeng1130/gnome-terminal-colors-solarized,GregoryShen/gnome-terminal-colors-solarized,jaehyuk/gnome-terminal-colors,yitang/gnome-terminal-colors-solarized,countjocular/mate-terminal-colors-solarized,webdev1001/gnome-terminal-colors-monokai,erikbrinkman/gnome-terminal-colors-solarized,mkanai/gnome-terminal-colors-monokai,esindril/gnome-terminal-colors-solarized,JianyuWang/gnome-terminal-colors-solarized,countjocular/mate-terminal-colors-solarized