Skip to content

Color settings

Nikhil S edited this page Nov 22, 2022 · 3 revisions

Color settings

To change the values of various elements in the UI, you can use one of 3 options. These can be used for any of the Color values in the JoystickVisualizer.exe.config file.

The sections below list the 3 possible options by showing which values use them as default. Note that any color value type can be used for any color.

RGB color values

By default, the UI_DarkModeBackground setting uses an RGB value as shown below. These values can each be 0-255.

      <setting name="UI_DarkModeBackground" serializeAs="String">
        <value>30, 30, 30</value>
      </setting>

Predefined web colors

By default, the UI_PovLineColor setting uses the predefined color Red as shown below. The possible values for this type of color can be seen here.

      <setting name="UI_PovLineColor" serializeAs="String">
        <value>Red</value>
      </setting>

Windows system colors

By default, the UI_DefaultDotColor setting uses a Windows system color, GradientInactiveCaption. The possible values for this type of color can be seen here.

      <setting name="UI_DefaultDotColor" serializeAs="String">
        <value>GradientInactiveCaption</value>
      </setting>

Clone this wiki locally