convert palettes to hex literals (issue #2)

...also add a gray64 to match Octave's default colormap size of 64 (see http://hg.savannah.gnu.org/hgweb/octave/file/tip/scripts/image/gray.m)

Later I might try having these generated programmatically, and adding the remaining ones from Octave.