Query of the current color in RGB-coding.
get_rgb returns the output color resp. greyvalues for the current output window. They are defined by the three color components red, green and blue.
get_rgb is like get_pixel but returns the entries of the color lookup table rather than the indices. The values returned by get_rgb can be set with set_rgb.
ImageRed (output_control) |
integer-array -> integer |
the current color's red value. |
ImageGreen (output_control) |
integer-array -> integer |
the current color's green value. |
ImageBlue (output_control) |
integer-array -> integer |
the current color's blue value. |
get_rgb returns TRUE, if a window is active. Otherwise an exception is raised.
set_rgb, disp_region, disp_image