refactor toRgbString method

- move from app.js to color.js model where it belongs
- write color_spec for this method, converts to halo format string
  (perl)