svg: add opacity properties and utils methods for setting Color