public void DrawAllDayBackground(Graphics g, Rectangle rect) { if (g == null) throw new ArgumentNullException("g"); using (Brush brush = new SolidBrush(InterpolateColors(this.BackColor, Color.Black, 0.5f))) g.FillRectangle(brush, rect); }