Fix opacity in createFromString

This PR fixes a couple of bugs in ol.Color.createFromString.