Class ColorOps

Version added: 11
Added in version 11

NOTE: All methods and properties of this class are static (which means they can be used without creating an instance of the class).

For example:
local rgbCol = LM.ColorOps:RgbColor(10, 20, 30, 40)

or
local rgbCol = LM.ColorOps.Red

Methods of ColorOps:

Name Returns Description Ver
BlendColors rgb_color Static method. Added in version 11 11
Hsv2Rgb rgb_color Static method. Added in version 11 11
HsvColor hsv_color Static method. Added in version 11 11
InvertColor rgb_color Static method. Added in version 11 11
Rgb2Hsv hsv_color Static method. Added in version 11 11
RgbColor rgb_color Static method. Added in version 11 11
SameColor bool Static method. Added in version 11 11

Properties of ColorOps:

Name Type Description Ver
Black rgb_color 11
Blue rgb_color 11
Clear rgb_color 11
Cyan rgb_color 11
Green rgb_color 11
Magenta rgb_color 11
Red rgb_color 11
White rgb_color 11
Yellow rgb_color 11