That’s not implemented yet as such. Though you can use TBGRATextEffect to specify an array of colors for each glyph (of a text without word break).
I thought of adding it to TBidiTextLayout but did not have much request on it. The idea would be to subdivide parts according to their style/color and render them separately.