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;
FpSpread1.Sheets[0].Cells[1, 2].Value = 20;
FpSpread1.Sheets[0].Cells[0, 1].Value = 15;
FarPoint.Web.Spread.ConditionalFormattingColorValue cvalue = new FarPoint.Web.Spread.ConditionalFormattingColorValue(Color.Orange, 1, FarPoint.Web.Spread.ConditionalFormattingValueType.Number);
FarPoint.Web.Spread.ConditionalFormattingColorValue cvalue1 = new FarPoint.Web.Spread.ConditionalFormattingColorValue(Color.BurlyWood, 10, FarPoint.Web.Spread.ConditionalFormattingValueType.Number);
FarPoint.Web.Spread.ConditionalFormattingColorValue cvalue2 = new FarPoint.Web.Spread.ConditionalFormattingColorValue(Color.Crimson, 20, FarPoint.Web.Spread.ConditionalFormattingValueType.Number);
FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule rule = new FarPoint.Web.Spread.ThreeColorScaleConditionalFormattingRule(cvalue, cvalue1, cvalue2);
FpSpread1.Sheets[0].SetConditionalFormatting(0,0, 3, 3, rule);