in reply to GD::Image::colorAllocate errors

$text_color = $image->colorAllocate( @{ $custom_colors->{text_color} } );