How you draw a rectangle? do you know that? The same way you can file a rectangle. For example in a paint event:
VB Code:
  1. Dim br As New SolidBrush(Color.FromArgb(a, r, g, b))
  2. e.Graphics.FillRectangle(br, New RectangleF(0, 0, 100, 100))