It worked for me like this:
set the foreground color to Yellow
setSGR [SetColor Foreground Vivid Yellow]
and then reset to normal after placing your line on the screen
putStrLn "ayellowstring" setSGR [Reset]
You need
import System.Console.ANSI
to do this
baloo source share