[][src]Function ncursesw::color_content

pub fn color_content(color: Color) -> Result<RGB, NCurseswError>
Deprecated since 0.4.0:

Use normal::Color::rgb() instead

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).