CellSpace/Manual (draft)
by CellWorks
Home
  
Table of Contents
  
Glossary
BackgroundColor
The BackgroundColor function sets the color of the background of a .
<Expression_or_cell> is the value to attach the color to.
<CSS_color_name> is the CSS color name. A valid CSS color name is required.
Usage:
	= BackgroundColor(<expression_or_cell>, <CSS_color_name>)
Example:
	if (sales > 0 && profits / sales >= 25%) {
		return BackgroundColor("all good", "palegreen");
	}
	return BackgroundColor("warning", "red");