/// <summary> /// Retrieves the intensity of the red, green and blue (RGB) components /// in a color. /// </summary> /// <remarks> /// Requires three references of variables for storing the /// information about amounts of the components in that color. /// the components. /// <para> /// The value of <paramref name="color"/> must be between 0 and /// <see cref="Colors"/>. The values that are stored in /// <paramref name="red"/>, <paramref name="green"/> and /// <paramref name="blue"/> are between 0 and 1000. /// </para> /// </remarks> /// <param name="color">Color number</param> /// <param name="red">Reference to a variable in which the amount of /// the red color component will be stored.</param> /// <param name="green">Reference to a variable in which the amount of /// the green color component will be stored.</param> /// <param name="blue">Reference to a variable in which the amount of /// the blue color component will be stored.</param> public static void ColorContent(short color, out short red, out short green, out short blue) { CursesMethods.color_content(color, out red, out green, out blue); }