different cell color for the same file, bug or something else? #4194
Replies: 2 comments 2 replies
-
No idea without seeing the file (or the code you used to set the color). Regardless of the cause, this seems to be an extremely small difference - is it causing you a problem? |
Beta Was this translation helpful? Give feedback.
-
Thank you for the sample files and the excellent documentation. The cells in question use a base color to which a "tint" is applied. PR #3580 changed the calculation used for handling the tint to be a bit more accurate than the calculation that had been used in PHPExcel. That is why you are seeing this difference. As you can see from the text for this change, very small differences like this are to be expected, but large differences between PhpSpreadsheet and Excel, like the issue that prompted that PR, go away. Sorry that it caused you a problem. |
Beta Was this translation helpful? Give feedback.
-
Hi all,
on an old installation I have phpoffice/phpexcel 1.8.2.
Now we have upgraded everything including php version and I am using
phpoffice/phpspreadsheet 1.29.2, on a new server.
This piece of code gives me a different color for the same file, how is it possible?
Does anyone have an explanation?
As result I have:
Thanks in advance for help!
Beta Was this translation helpful? Give feedback.
All reactions