The Slider View provides six sliders that allow convenient (no typing) specification of the six hex digits that define a unique color code. Each slider will respond to a click, or a click and drag setting the corresponding hex numeric value. The specified color is automatically computed and entered in multiple ways: as a hex code, as an rgb code ( rgb(255, 165, 0); ) a color swatch, and optionally a code snippet. Any of these, the actual color or the text, can then be dragged to any open document or drawing. The color defined by the sliders is a precise hex color with no residual leakage into the full 32 bit millions of colors color space, which may be important in some situations.
To use as an inspector select a color on a drawing or document and immediately see the three hex components. The components are visualized by the quantized positions of the sliders and the hex numeric values displayed. If the color is not precisely a hex color the numeric values are shown in red with the residual accessible as a tool-tip.
A shift-click will "tie" the two sliders to work in unison, creating the common shortcut color codes with doublet hex digits, for example, #333333 or #cccccc. This is a more conventional shorthand than completing with zeros for the least significant hex digits (#666666 instead of #606060).
Entry errors for hex code values are handled intelligently while complying with the strict 6-hex-digit format. Missing values are not set to zero, they are in general expanded by duplication of least significant digits. For example a 3 hex digit short cut entry is allowed, the 3 values entered are expanded to 6 by duplication. For example, enter 369 and the value is expanded to 336699. If there is no logical expansion for an otherwise erroneous input, an error message is flashed over the color view and the previous value is retained.
|