Sets the background color of the cell B3 to blue.
(function() { Api.GetActiveSheet().GetRange("B3").SetFillColor(Api.CreateColorFromRGB(0, 0, 250)); })();
Methods used: GetActiveSheet, GetRange, SetFillColor, CreateColorFromRGB
Sub example() Range("B3").Interior.Color = RGB(0, 0, 250) End Sub