Color change smootly to a shape

I figured it out with the title in the end. now i understood that to have smooth color change i should have only normal color ,not gradient as i did in the first place.i’ll try in my next exercise i do to keep these in mind.Thank you for help .Being at the start at this its pretty challenging but i like it .i just need to find motivation to work more .