Rewrite color-blocks as css rather then img.