rewrite position hash, include current color