FpSpread1.Sheets[0].Cells[0, 0].Value = 3;
FpSpread1.Sheets[0].Cells[1, 0].Value = 2;
FpSpread1.Sheets[0].Cells[1, 1].Value = 10;
FpSpread1.Sheets[0].Cells[0, 2].Value = 1;
FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule three = new FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule();
three.MidValue = new FarPoint.Web.Spread.ConditionalFormattingColorValue(Drawing.Color.Aqua, 5, FarPoint.Web.Spread.ConditionalFormattingValueType.Number);
three.MinValue = new FarPoint.Web.Spread.ConditionalFormattingColorValue(Drawing.Color.BlueViolet, 1, FarPoint.Web.Spread.ConditionalFormattingValueType.Number);
three.MaxValue = new FarPoint.Web.Spread.ConditionalFormattingColorValue(Drawing.Color.Blue, 10, FarPoint.Web.Spread.ConditionalFormattingValueType.Number);
FpSpread1.Sheets[0].SetConditionalFormatting(0, 0, 3, 3, three);