Workbook::setCustomColor

Workbook::setCustomColor -- Change the RGB components of the elements in the colour palette.

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

integer Workbook::setCustomColor (integer $index, integer $red, integer $green, integer $blue)

Description

Change the RGB components of the elements in the colour palette.

Parameter

Return value

integer - The palette index for the custom color

Note

This function can not be called statically

Example