initial working version of color-hash