File ./LibScriptablePlugins-1.0/LibScriptablePluginColor-1.0/LibScriptablePluginColor-1.0.lua
Functions
ColorBrightest (col1, col2) | Determine and return the brightest of 2 32bit colors. |
RGB2HSV (r, g, b) | Creates HSV colorspace values from RGB values |
RGB2HSV (r, g, b) | Creates HSV colorspace values from RGB values |
Functions
- ColorBrightest (col1, col2)
-
Determine and return the brightest of 2 32bit colors. The alpha channel is ignored.
Parameters
- col1: The first color to compare.
- col2: The second color to compare.
Usage:
ColorBrighest(color1, color2)Return value:
The brighest of the two colors is returned. - RGB2HSV (r, g, b)
-
Creates HSV colorspace values from RGB values
Parameters
- r: Red value
- g: Green value
- b: Blue value
Usage:
RGB2HSV(r, g, b)Return value:
Hue, Saturation, and Value values from RGB values - RGB2HSV (r, g, b)
-
Creates HSV colorspace values from RGB values
Parameters
- r: Red value
- g: Green value
- b: Blue value
Usage:
RGB2HSV(r, g, b)Return value:
Hue, Saturation, and Value values from RGB values