IupColor
Creates a color to be used in the color definition of interface elements.
Parameters/Return
Ihandle *IupColor(int r, int g, int b); [in C] [There is no Lua equivalent] color(r, g, b) [in LED]r, g, b: intensity [0...255] of red, green and blue, respectively.
This function returns the identifier of the created color, or NULL (nil in IupLua) if an error occurs.
Attributes
BLUE: Blue intensity.
GREEN: Green intensity.
RED: Red intensity.
Integer values from 0 to 255 are accepted.
Notes
Though this function exists to help creating colors, the simplest way to modify a color is by directly defining values in a string, such as "0 0 255", as specified in attributes FGCOLOR and BGCOLOR.
This function does not exist in IupLua, because the r.." "..g.." "..b concatenation can be used to obtain the same effect.