COLORn
WTSupported in traditional Synergy on Windows
|
WNSupported in Synergy .NET on Windows
|
|
|
The COLOR0 through COLOR255 initialization settings can be used to override the default settings for the 256 user colors (color 0 through color 255).
Value
COLORn is specified as follows:
COLORn=rgb
where n is a number from 0 to 255, representing one of 256 possible colors, and rgb is an RGB triplet that defines the color. This triplet must be separated by commas and can be in either hexadecimal or decimal notation. “0x” designates hexadecimal notation.
Discussion
COLORn enables you to define a Synergy user color in synergy.ini. COLORn settings override default user colors that are loaded by the Synergy runtime when it starts. Note the following:
- COLORn must be in the [colors] section of synergy.ini. If no [colors] section exists, add “[colors]” on a separate line at the end of the file and then add COLORn settings on separate subsequent lines.
- Synergy/DE supports 512 colors, but COLORn settings can be used only for user colors (0 through 255). Specifying a number higher than 255 or lower than 0 will generate an error.
For more information on user colors, see Colors and the color palette.
Setting location
The [colors] section of synergy.ini.
Used by
Runtime
See also
Customizing the look of your application
Examples
In the synergy.ini file,
[colors] COLOR7=0xFF,0xFF,0xF