Texture2D rect = new Texture2D(graphics.GraphicsDevice, 80, 30);
Color[] data = new Color[80*30];
for(int i=0; i < data.Length; i++) data[i] = Color.Chocolate;
rect.SetData(data);
Vector2 coor = new Vector2(10, 20);
spriteBatch.Draw(rect, coor, Color.White);
# In The Public Class
Texture2D whiteRectangle;
# In LoadContent Funtion
whiteRectangle = new Texture2D(GraphicsDevice, 1, 1);
whiteRectangle.SetData(new[] { Color.White });
# In Draw Funtion
_spriteBatch.Begin();
_spriteBatch.Draw(whiteRectangle, new Rectangle(0, 0, 30, 30),Color.Chocolate);
_spriteBatch.End();