How to change GRADIENT with code?

Tricky option-2!!! Tricky idea!!!
Happy new year my old friend :wink: