In Bambu Studio? older versions let me do this
Color Painting Tool | Bambu Lab Wiki
In Bambu Studio, created text shows up as text_shape, within the body of the model.
Select the filament for the color you want.