Pass opacity value through and use it.