Begin by soaking the sago pearls in water for at least 1 hour to soften them. Once soaked, drain and set aside.
In a medium pot, combine water, sugar, pandan leaves, and your chosen food coloring. Bring the mixture to a gentle boil, stirring occasionally until the sugar has completely dissolved and the color is evenly distributed.
Add the drained sago pearls into the boiling syrup. Stir continuously to prevent clumping and to ensure even cooking. As the mixture thickens, you may need to add more water if it becomes too sticky or difficult to stir. Cook until the pearls turn fully translucent—this means the white centers have disappeared completely.
Once cooked, transfer the sago into individual molds or small containers. Allow them to cool at room temperature before chilling in the refrigerator for several hours until fully set.