IMO, the deprecation of withOpacity is absolutely irrational.
Can implementation be better? Ok, change implementation.
You want to remove the opacity words from the codebase and documentation? Why? Because you heard the new trendy word, alpha channel?
Why do you think that someone besides you cares?
And now we still have opacity in Color constructors, we still have Gradient.withOpacicty, but Color.withOpacity is deprecated.
Stupid nonsense.