A General Technology & Development Blog

Technology, Development, Programming – Magento, Wordpress.

Home » Magento – How to change product thumbnail background colour (color)

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 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.


  • Was this Helpful ?
  • Yes   No

Name of author

Name: BlogOwner

Short Bio: "The master has failed more times than the beginner has even tried."

eXTReMe Tracker