pub fn color_content(color_number: short_t) -> Result<RGB, NCurseswError>
👎 Deprecated since 0.4.0:

Use normal::Color::rgb() or shims::ncurses::color_content() instead

Expand description

Return the intensity of the red, green, and blue (RGB) components in the color, which must be between 0 and COLORS. Return a structure, containing the R,G,B values for the given color, which will be between 0 (no component) and 1000 (maximum amount of component).