Making Vertical Gradient, then make top half transparent
You need two things: texture coordinates and a way to control them. The Vector Mapping will allow you to place the gradient texture where you need it. Then you can use multiple color ramps to mix color and a transparent shader.



Blend File