Game version

Paint Sprayer in Terraria

Terraria item ID 2216. Terraria 1.4.5.7.

The Paint Sprayer is a construction accessory that can be purchased from the Traveling Merchant for 10 Gold. While equipped, or (Desktop, Console and Mobile versions) when held in the inventory, it automatically applies paint or coating to any object when placing it. Like the Paintbrush and the Paint Roller, it will use the paint that is first in order in the inventory.

What Paint Sprayer is used to craft

Description from the Terraria Wiki.

Dungeon Guardian: Terraria crafting trees for every item