/// <summary>
 /// Compose rgb values into an integer, unlike System.Drawing.Color, it eliminates alpha value
 /// </summary>
 /// <param name="color">Value of color</param>
 /// <returns>Integer form of rgb value</returns>
 public static int RGB(Color color)
 {
     return(MemDC.RGB(color));
 }
 /// <summary>
 /// Extract the b component from an integer grb value
 /// </summary>
 /// <param name="color">Integer form of rgb value</param>
 /// <returns>Value of the b component</returns>
 public static byte GetBValue(int color)
 {
     return(MemDC.GetBValue(color));
 }
 /// <summary>
 /// Compose rgb values into an integer
 /// </summary>
 /// <param name="r">Value of r component</param>
 /// <param name="g">Value of g component</param>
 /// <param name="b">Value of b component</param>
 /// <returns>Integer form of rgb value</returns>
 public static int RGB(byte r, byte g, byte b)
 {
     return(MemDC.RGB(r, g, b));
 }