Combine the granulated sugar, syrup, water, and salt in a saucepan. Bring to a boil, stirring to dissolve the sugar. Boil the mixture until it reaches 240°F(115°C).
While the sugar is cooking, mix the fat, confectioners’ sugar, and cocoa until evenly combined, using the paddle attachment of the mixer.