HTML::Tooltip::Javascript - Background colours

Home » Tutorials » HTML::Tooltip::Javascript talk

The tooltip has a green background

my $tip1 = $tt->tooltip("This is a tooltip",
  {
    bgcolor => '#E0F0BF'
  },
);

The tooltip has a pink background

my $tip2 = $tt->tooltip("This is a tooltip",
  {
    bgcolor => 'pink'
  },
);