Removing duplicate toColor (https://github.com/phetsims/scenery/commit/6f80c77aa8266a93d47a4a9e63ad6718cc0a2fc9)