Here's how one Hometalker painted her ceramic tile floor: https://www.hometalk.com/36896576/how-to-paint-tile-floors-with-a-stencil
I believe Kilz makes a paint that can be used on tile!
There is a special paint called rustoleum has it for tiles
Here's some more ways
Here’s how I did it: https://www.flippingtheflip.com/2019/03/how-to-stencil-paint-ceramic-tile-floor.html?m=1