#Brush to define the colour my $brush = new Win32::GUI::Brush(-color=>[198, 223, 198])or die("Could not create Brush\n"); #Class for the colour my $clsColour = Win32::GUI::Class->new( -name => "classColour", -color => $brush, ) or die("Could not create Class\n");