---
layout: default-layout
noTitleIndex: true
needAutoGenerateSidebar: true
title: How can I change the background color of the image viewer?
keywords: Dynamic Web TWAIN, Image Viewer, background color
breadcrumbText: How can I change the background color of the image viewer?
description: How can I change the background color of the image viewer?
date: 2021-12-09 11:34:50 +0000
last_modified: 2024-09-19 08:47:35 +0000
---

# Image Viewer

## How can I change the background color of the image viewer?

You can change the background color of the image viewer according to your requirements and even put an image in the background.

Example: DWTObject.Viewer.background = 'rgb(255, 255, 255)'

Read more on <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/background" target="_blank">background shorthand CSS</a>.
