NAME

Color::Calc::object - DEPRECATED: Simple calculations with colors (output as object)

SYNOPSIS

use Color::Calc::object;
print join ',', @{color( 'pink' )->as_RGB255}; # prints '255,192,203'

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' => 'object');

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

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

AUTHOR

Claus Färber <CFAERBER@cpan.org>

LICENSE

Copyright © 2004-2009 Claus Färber.

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