This was my test result by changing the background color then writing the text, changing the cursor position, and repeating. I don't know exactly how you would go about this over the whole screen, but i hope this helps
local gpu = require("component").gpu
local term = require("term")
--cursor is already set a (1,1), no need to change anything if you don't want to
gpu.setBackground(0x003d99) -- example dark blue
term.write("Insert your stuff here, this is basically like the print function except no auto indenting!") -- color should be different BEHIND the text here
term.setCursor(1,3) -- Mo