Title

elfs colors -- Manage colors for Stata windows, on Windows

Description

These are sets of colors (plus boldface and underline) to be used by the Results or Viewer windows.

The three EL sets of result/viewer colors are intended to be useful as Preference Sets for multiple instances.

Fields

Scheme is a name for a whole set of seven colors (six types of text plus background).

The following fields are present when editing, but not in the listing:

tstyle is an identifier for the six kinds of text (plus background) that can be assigned a color in the General Preferences.

red, green, and blue are the rgb values for the color (0-255).

bold and ul specify whether the text should also be bold or underlined, respectively (0 for no, 1 for yes).

Links

Use for Results sets the Results window to use its Custom Color Scheme 3, and assigns the relevant colors to that scheme.

Use for Viewer sets the Viewer window to use its Custom Color Scheme 3, and assigns the relevant colors to that scheme.

Delete deletes a user-created scheme.

Edit All opens a data editor with all the defined schemes. Each Scheme should have seven rows; one for each tstyle.

Save Current Results and Save Current Viewer will write the relevant colors as user-defined schemes Current Results or Current Viewer, respectively.
This will overwrite any existing schemes with those names, so it might be desirable to edit the names, after the settings are created.

Set to on/Set to off (Color Warning):

Commands which use the out() option keep track of the colors they produce. When the same color is used for parts of the display that are ideally distinct,
a note is appended to the output (by default), pointing out that you can't see all of the intended contrast.

For example, tfreq uses different types of text for counts vs percents. If you use the same color for both types, you may not be able to tell which is which.
The note after the display points out that there is more detail than you can see.

The ideal way to deal with this would be to assign distinct colors to every type of text. However, you can also turn off the warning.