- or download this
my %opts = (bg_color => $front_color,
align => "center",
...
# Add and define a format
my $format_2 = $workbook->add_format(%opts);
- or download this
my $sRGB = $parser->ColorIdxToRGB($format->{Fill}->[2]);
my $sRGB_2 = $workbook->color_idx_to_rgb($format->{Fill}->[2]);
- or download this
my $backgroundcolor = $workbook->set_custom_color($back_color,
$sRGB);
- or download this
my %opts = (bg_color => "ffff00",
align => "center",
...
# Add and define a format
my $format_2 = $workbook->add_format(%opts);
- or download this
#!/usr/bin/perl
use strict;
...
RGB Yellow: ffff00
RGB Excel: FFFF00
RGB int: 34