Magento – How to change product thumbnail background colour (color)
If you want to change the background colour (color) of your product thumbnails in Magento, do the following:
Navigate via FTP to the following directory:
And look for file:
Open this file in your favourite editor and look for the line:
protected $_backgroundColor = array(255, 255, 255);
Around line 44.
Amend the values 255,255,255. This is RGB value for white – you need to replace this with your own RGB value. You can get this via Photoshop or similar editor. In my case i changed it to:
protected $_backgroundColor = array(0, 0, 0);
Which is the RGB for black.
Note: This was done using Magento Community Edition ver 22.214.171.124. The file structure at the time of reading may have changed depending on what version you are using. But the file will be the same when you locate it.