Registry Tweak to Change “Photo Viewer” or “Photo Gallery” Background Color in Windows

Windows OS comes with a built-in image viewing program which is called “Photo Viewer“. Its a very basic image viewer which allows you to view images and to perform a few basic operations on images such as rotate, zoom, delete, set as Desktop background and slideshow. It also allows you to print the image, burn the image to a disc or email the image to other people.

“Photo Viewer” program comes preinstalled in almost all Windows versions such as Windows 7 or Windows 8. If you want a more advanced image viewer, Microsoft provides a better program “Photo Gallery” which is a part of Windows Essentials (previously known as Windows Live Essentials) suite.

Both programs “Photo Viewer” and “Photo Gallery” display the images using a very light background color and there is no option provided to change this default color. There are many people who prefer a dark background color for such kind of applications.

Advertisement

If you always wanted to change this light background color to some other color in Photo Viewer or Photo Gallery program but never found a way to do this, here is something interesting for you.

Today in this article, we are going to share a Registry tweak which will allow you to change default background color in Windows Photo Viewer and Windows Live Photo Gallery programs.

Following are previews of the default and custom background color in Windows Photo Viewer program:

Default background color in Windows Photo Viewer:

Windows_Photo_Viewer_Default_White_Background.png

Custom background color in Windows Photo Viewer:

Windows_Photo_Viewer_Custom_Background.png

Advertisement

So without wasting time, lets start the tutorial:

1. Press “WIN+R” key combination to launch RUN dialog box then type regedit and press Enter. It’ll open Registry Editor.

2. Now go to following keys:

For Windows Photo Viewer:
HKEY_CURRENT_USER\Software\Microsoft\Windows Photo Viewer\Viewer

For Windows Live Photo Gallery:
HKEY_CURRENT_USER\Software\Microsoft\Windows Live\Photo Gallery\Viewer

3. In right-side pane, look for a DWORD BackgroundColor. If it doesn’t exist, create it manually. Once you find or create the DWORD, double-click on it and set its value to the 6-digit hex code of your desired color prefixed by ff

For example, if you want to set the background color to black, set the value of BackgroundColor to ff000000 where 000000 is the 6-digit hex code of black color and ff is the prefix value which is required by the Registry key.

Change_Windows_Photo_Viewer_Background_Color.png

PS: You can find the hex code of any desired color using an image editing software such as Adobe Photoshop or you can find the hex codes by searching on Google.

NOTE: If you want to restore default background color in future, set DWORD value to ffeef3fa

Thanks to our reader “Omega Man” for sharing this trick…

Published in: Windows 7, Windows 8, Windows Vista, Windows XP

About the author: Vishal Gupta (also known as VG) has been awarded with Microsoft MVP (Most Valuable Professional) award. He holds Masters degree in Computer Applications (MCA). He has written several tech articles for popular newspapers and magazines and has also appeared in tech shows on various TV channels.

Comments

NOTE: Older comments have been removed to reduce database overhead.

  1. Quick question. I’m running Win 7 64 bit. Should I create a 32 bit DWORD or a 64 bit QWORD or does it matter?

  2. Hi,
    Tried your above registry tweaks to both Windows Photo Viewer and Windows Live Photo Gallery. It works great with Photo Viewer but no changes to Windows Live Photo Gallery.

    I am running Windows 7 Ultimate 64Bit and used the 32Bit DWORD as suggested. Any suggestions.
    Thanks. Ivan

  3. Hi All, Please let me know if above tweak will work with windows xp picture and fax viewer? or if there is any other tweak I can use?
    Thanks

  4. I’m using Vista 64bit sp2, it seems to only have Windows Live Gallery, unfortunately there was no change.

  5. Unfortunately, this didn’t work for me on Windows 7 Professional 64bit, and I went through the procedure twice.
    Any suggestions?

  6. This is the default registry key for 64 bit Windows 8:
    ————————————————————————————————
    Windows Registry Editor Version 5.00

    [HKEY_USERS\S-1-5-21-396933820-1270644272-952750125-1001\Software\Microsoft\Windows Photo Viewer]

    [HKEY_USERS\S-1-5-21-396933820-1270644272-952750125-1001\Software\Microsoft\Windows Photo Viewer\Slideshow]
    “Shuffle”=dword:00000000
    “Loop”=dword:00000001
    “Mute”=dword:00000000
    “Speed”=dword:00000001

    [HKEY_USERS\S-1-5-21-396933820-1270644272-952750125-1001\Software\Microsoft\Windows Photo Viewer\Viewer]
    “MainWndPos”=hex:a5,01,00,00,8d,00,00,00,fd,04,00,00,65,03,00,00,01,00,00,00
    “BackgroundColor”=dword:9ff00000

Leave a Comment

Your email address will not be published. Required fields are marked *

NOTE: Your comment may not appear immediately. It'll become visible once we approve it.