JMP uses four different ways of specifying a color: index number, name, RGB triad, and HLS triad. Are you confused by these different values? Is it difficult for you to find the value that corresponds to the color that you want? Do you know the color value by number or name that is close to what you want but you don't know where to start with RGB or HLS so you can tweak it? This utility helps you explore color values using any of the four ways of specifying a color and convert between them. A plot of four graphic objects responds immediately to changing the color value for you to understand the connection between the value you use and the color you get.
To use the script, simply open it and run it. You will see this initial window:
The Color Result shows you how the current color will look in JMP (data markers, graphics objects, text). The Color By controls determine which of the four ways of specifying color will be used in the plot. The Color Values determine the current color.by any of the four ways. Note that only one way is active in the plot at any time and the current way is determined by the selection in Color By.
Color by Number:
Color by Name:
Color by RGB:
Color by HLS:
General:
Example
I want to use a particular magenta. After running the script, I examine the standard magenta color. I select Color By > Name:
Then I select Color Value > Color by Name > Magenta:
The result is immediately seen:
I want a darker magenta ,than the standard color. Click Name -> RGB, HLS. Decrease the Lightness to 0.4 in the Color by HLS:
This color is what I want. Now I want to know what are the corresponding RGB values for this darker magenta? Click HLS -> RGB and observe the change in the Color by RGB settings:
I hope that you find this utility useful and that you find the example helpful.
This code does not functiion well in JMP11
Thanks for sharing!!!
What I miss here is the possibility of using the COLOR CODE (ie. RGB) and re-using it in the analysis in a faster way.
Otherwise, I'd use sites like http://htmlcolorcodes.com fir that.
Cheers