The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

App::MathImage::Gtk2::Ex::GdkColorBits -- misc GdkColor helpers

SYNOPSIS

 use App::MathImage::Gtk2::Ex::GdkColorBits;

FUNCTIONS

$str = App::MathImage::Gtk2::Ex::GdkColorBits::to_HRRGGBB ($color)

Return a 2-digit hex string like "#FF00AA" for the given Gtk2::Gdk::Color, with the red, green and blue fields reduced to a range 00 to FF for that result.

See $color->to_string for the full 4-digit form (new in Gtk 2.12 and Perl-Gtk 1.160).