use Tk; my $mw = MainWindow->new(); $mw->configure( -background => "$current_color" ); [download]
In reply to Getting the Color of the Current Screen by Anonymous Monk