Change cell font color

Description

Set the font color of the cell B4 to red.

(function()
{
    Api.GetActiveSheet().GetRange("B4").SetFontColor(Api.CreateColorFromRGB(255, 0, 0));
})();

Methods used: GetActiveSheet, GetRange, SetFontColor

Reference Microsoft VBA macro code
Sub example()
    Range("B4").Font.Color = RGB(255, 0, 0)
End Sub
Result

Font color