Terraria item ID 1079. Terraria 1.4.5.7.
Paint is used to modify the color of objects. Nearly anything can be painted, including blocks, background walls, and furniture, along with non-collectable environment objects like trees, tall grass, flowers, and other ambient growth. Basic paint is purchased from the Painter NPC. Two of the same color can be combined at a Dye Vat to create "deep" color versions, which apply their color more vividly and are required in order to paint certain objects.
Description from the Terraria Wiki.