To dye leather armor, you need to make a cauldron with 7 iron ingots. Then fill it with water, and add dye to it by holding it and pressing
. Then make leather armor with 24 total leather. You will need to add more dye after the third armor piece. For me it unlocked after I dyed the helmet--which I did first, so it may be glitched