Color Selection Guide
Some tools allow you to customize colors used in the output, specifically among the figure-generation
tools. The following guide introduces the user to color customization in ScriptManager.
Color customization options available in the Heatmap Labeler, Four Color Sequence Plot, Two Color Heatmap, Three Color Heatmap, and Composite Plot tools.
Color Selector Window (GUI)
When the user opens up the color selector window, they will see several tabs, each visualizing a different method for selecting a custom color.
The default/first tab, "Swatch" (above), shows a bunch of color swatches for a fixed collection of colors to choose from.
- "HSV" tab allows the user to select a color based on the Hue, Saturation, and Value color system
- "HSL" tab allows the user to select a color based on the Hue, Saturation, and Lightness color system
- "RGB" tab allows the user to select a color based on the Red, Green, and Blue color system
- "CMYK" tab allows the user to select a color based on the Cyan, Magenta, Yellow, and Black color system
Note that the RGB selector window includes a "Color Code" text box that allows you to directly paste a hexstring (see below) value encoding a color.
Choosing colors from the command line (CLI)
ScriptManager's command-line tools typically indicate color using the -c
flag followed one or more hexidecimal color strings shexstrings). The hexstrings are composed of a sequence of 6 characters (0-9 or A-F), where each pair of characters represent an Red, Green, and Blue value, and each pair encoding any value from 0-255. The help documentation points the user to this url for users to browse colors and get the corresponding hexstring.
User should not use the pound symbol #
in front of the hexidecimal when typing out commands in the terminal because it renders the token invisible to the shell and thus, invisible to ScriptManager.