If the font, color or size of the number and the text are different, you’ll need to use sourceRectAtTime() to get the width of the number and add it and some padding to get the position of the text.
If the font, color and size of the number and the text are the same (as shown in your screenshot), you can do it per the first suggestion.
The color of the icon has no bearing in this.
Kalleheikki Kannisto
Senior Graphic Designer