Write an add-on to visualise css color palette next to colors

Demo: http://jeditoolkit.com/CodeMirror/demo/palette.html