Microsoft KB Archive/254603

= Visio5: How to Change the Visio User-Interface Colors =

Article ID: 254603

Article Last Modified on 11/25/2003

-

APPLIES TO


 * Visio 5.0 Standard
 * Visio 5.0 Professional
 * Visio 5.0 Technical
 * Visio 5.0 Enterprise

-



This article was previously published under Q254603



SUMMARY
Color settings for many Visio user-interface elements, such as the drawing page, grid lines, stencil background, and so on, are accessible to you and easy to change. You can change color settings to fine-tune Visio colors for a particular monitor, such as a gray-scale monitor, or to customize your Visio window.



How Visio Stores User-Interface Colors
Visio stores color information for its user-interface elements in the Visio.ini file. Each color setting in the Visio.ini file includes a series of three numbers. This series represents the values of the hue components--red, green, and blue--that make up the color. For example, to produce the color white for the drawing page, Visio assigns the following red, green, and blue (RGB) values:

ColorPage=255 255 255

Changing User Interface Color Settings
If you want to change the color of a user-interface element, you can change its RGB values in the Visio.ini file. After you change color settings in the Visio.ini file, Visio uses the new settings every time that you open the program, whether you open an existing Visio file or create a new one.

To modify color settings in the Visio.ini file:  If Visio is running, quit Visio. Open the Visio.ini file in a text editor such as Notepad. By default, the Visio.ini file is located in the Visio\System folder. Scroll to the [colors] section.

If the [colors] section does not appear, do the following:  Add a blank line after the [application] section heading at the top of the file. On the new line, type the following:

IniShowAll=1

 Save and close the Visio.ini file, start Visio, and then close it. Open the Visio.ini file again, and then scroll to the [colors] section.</li></ol> </li> In the [colors] section, find the setting for the user-interface element that you want to modify and change one or more of its red, green, or blue values to assign the color that you want.

To find out how your changes affect the Visio user interface, save the Visio.ini file and start Visio. (Make sure to quit Visio again each time that you make additional changes to the color values.)

TIP: To save time having to start and quit Visio with each change, you can find a specific color's RGB values in the Windows color palette. For more information about working with the Windows color palette, refer to your Microsoft Windows documentation.</li> After you assign the colors that you want, save and close the Visio.ini file.</li></ol>

TIP: If want to restore the default Visio.ini file settings, close the Visio program and delete the Visio.ini file. The next time that you start Visio, it creates a new Visio.ini file.

Examples of Visio User-Interface Colors
The following table includes the color settings for some of the Visio user-interface elements. This information is taken from the Visini.txt file, which Visio Setup installs in the Visio\DVS folder when you choose to install the DVS component.

For more information about the Visini.txt file, see the "References" section later in this article.

<div class="references_section">