The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Color::Calc::pdf - DEPRECATED: Simple calculations with colors (output for PDF::API2)

SYNOPSIS

  use Color::Calc::pdf;
  print color( 'pink' );        # prints '#ffc0cb'

DESCRIPTION

This module is deprecated as it does not allow selecting the scheme of recognized color names, which defaults to Graphics::ColorNames::X and is incompatible with HTML's color names.

This module is nearly identical to using the following:

  use Color::Calc('ColorScheme' => 'X', 'OutputFormat' => 'pdf');

However, this module also makes the functions available when not imported:

  use Color::Calc::pdf();               # don't import
  Color::Calc::pdf::color('F00');

AUTHOR

Claus Färber <CFAERBER@cpan.org>

LICENSE

Copyright 2004-2010 Claus Färber.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.