Help for tetris tetrominoes design

I developed the whole tetris game but I want my tetriminoes to have grid like patterns like the image below. Please help.
untitled

I have tried no code so far it is set as default where has no grid markings. Its like in the image down belowqwer

After your reply I tried several times but the results where very strange- the tetrominoes were not displaying not the screen. As the rotation is an array and not an image I also couldn’t import the images from the web

Please help as I cant figure it out