So I want to change the green color that is coming either side of the line.
Try changing color preferences for Injected language fragment (Preferences | Editor | Color Scheme | General, Code) - clear the Background