App::MathImage::Gtk2::Ex::GdkColorBits -- misc GdkColor helpers
use App::MathImage::Gtk2::Ex::GdkColorBits;
$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.
Gtk2::Gdk::Color
See $color->to_string for the full 4-digit form (new in Gtk 2.12 and Perl-Gtk 1.160).
$color->to_string
To install App::MathImage, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::MathImage
CPAN shell
perl -MCPAN -e shell install App::MathImage
For more information on module installation, please visit the detailed CPAN module installation guide.