I would like to present to you the way through which you can write in one line using two different colors.
function Line(j: integer): string;
var
i: integer;
begin
for i := 1 to j do
Result := Result + chr(10) + chr(13);
end;
Usage
Player.WriteConsole(Line(1)+' bbb',$66FF00);
Player.WriteConsole('AAA',$FFFFFF);
Player.WriteConsole(Line(1)+' ccc',$00FFFF);
Player.WriteConsole('DDD',$66FF00);
Result
If you have any other ways, please share.