Color of pattern style fill

Topics: User Forum
May 15, 2015 at 2:06 AM

Is there any way to change color of fill pattern from black to white, for instance?

I'd like to have a cell filled with:
  • solid yellow color
  • darkGrid pattern of white
This code:
$array_style_title = array(
    'fill' => array(
        'type' => PHPExcel_Style_Fill::FILL_PATTERN_DARKGRID,
            'color' => array('rgb' => 'ffff00')
generates yellow fill with black pattern on top. Need white instead.