A 2-color linear gradient with an angle.
I created a similar effect, it does the same plus a lot more and additionally supports webGPU.
You might want to check it out if you are looking for an alternative.
https://www.construct.net/en/make-games/addons/1107/gradient