Synergy color palette

WTSupported in traditional Synergy on Windows
WNSupported in Synergy .NET on Windows



The PALETTE setting defines entries in the color palette.

PALETTE is specified as follows:


where each f/b pair is a color palette entry with a foreground color (f) and a background color (b). The first f/b pair is for color palette entry 1, the second is for color palette entry 2, and so forth.

The color palette has 16 entries that are used to assign colors to renditions, which define the appearance of user interface elements in UI Toolkit programs and Synergy programs that use the windowing API. (A PALETTE setting does not need to include all 16 color palette entries. You can omit an entry, but you must include a comma placeholder for the omitted entry unless it is at the end of the string. See the Examples below.)

A default color palette is loaded into memory when the Synergy runtime starts, but you can use PALETTE to override the entire default color palette or just specific entries in the default palette.

There are 256 user colors (color 0 through color 255) and 30 system colors (color 256 through color 285) that you can assign to palette entries. See Colors and the color palette for more information.

The [colors] section of synergy.ini.

Runtime and UI Toolkit

The following example defines the entire color palette.


The next example defines the second and fourth color palette entries as 270/269. All other color palette entries will have their default values (or values set in synergy.ini if this setting is in synuser.ini).