SpreadJS Documentation
colors Method
GC.Spread.Sheets Namespace > Theme class : colors Method
The base colors of the theme.
Gets or sets the base colors of the theme.
Syntax
var instance = new GC.Spread.Sheets.Theme(name, colorScheme, headerFont, bodyFont);
var returnValue; // Type: any
returnValue = instance.colors(value);
function colors( 
   value : ColorScheme
) : any;

Parameters

value
The base colors of the theme.

Return Value

If no value is set, returns the base colors of the theme; otherwise, returns the theme.
See Also

Reference

Theme class