TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

Change cell font color

Description

Sets 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