The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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).