Topics: Developer Forum, Project Management Forum, User Forum
Sep 9, 2008 at 10:02 AM
 $returnValue = new PHPExcel_Style_Font($text->getFont());
            $color = new PHPExcel_Style_Color( $returnValue->getColor());
            $sub_color = $color ->getARGB();//getARGB();
//object(PHPExcel_Style_Color)#7692 (1) { ["_argb:private"]=> string(8) "FF000000" }

how getvalue of object(PHPExcel_Style_Color)

Sep 10, 2008 at 12:27 AM
I think the problem has to do with trying to read "theme colors" which are not supported by PHPExcel at the moment.

Whenever possible, use standard colors.

More explanation here in this issue (applies to both foreground and background colors.):

Also follow the link I posted there to learn about "theme colors".
Sep 10, 2008 at 8:40 AM