Dissolve the sugar and water in a saucepan and add the ground almonds. Cook, stirring constantly, until the mixture comes away from the sides of the pan.
Remove from fire and turn out on a marble slab or spotlessly clean table top. Knead until smooth, adding the extract and coloring a few drops at a time while mixture is still warm.
Mold into any desired shapes.