How to create a rectangle block or move from origin for brick gradient

And how do I bake it with colours? Thanks