iliaal/php_excel — Issue #23: Problem with background color
Author: oxman
Created: 2011-12-23 10:16:54+00:00
State: open

$excel = new \ExcelBook(null, null, 1);
$excel->setRgbMode(true);
$color = $excel->colorPack(200, 217, 220);
$format->fillPattern(\ExcelFormat::FILLPATTERN_SOLID);
$format->patternBackgroundColor($color);
$sheet->write(1, 1, 'Test', $format);

The background of cell is black.