in reply to Tk::Canvas colors
To set your whole application to a consistent color, use@color = qw|red green blue|; $can->create ( 'rectangle', $X, $Y, $X+1, $Y+1, -fill => $color[1]; );
You can also the hex values in place of a color name:$widget->setPalette('red');
-Mark($r, $g, $b) = $widget->rgb("red"); $hex_color = "$r$g$b$"; $mw->Button( -background => $hexcolor);
|
|---|