Added labels coloring and legend in object painting