Place two cups of boiling water in a bowl. Dissolve 1 cup of sugar in the bowl. Stir until the sugar is dissolved. Add 3 to 4 drops of blue food coloring to the sugar syrup. Add 1 teaspoon coconut flavoring to the syrup. Allow the syrup to cool.
To make the drink, fill a glass with ice, then add 1 part of the blue coconut syrup, then fill the glass with 3 parts of Sprite.