color::calc::www(3pm) debian man page | unix.com

Man Page: color::calc::www

Operating Environment: debian

Section: 3pm

Color::Calc::WWW(3pm)					User Contributed Perl Documentation				     Color::Calc::WWW(3pm)

NAME
Color::Calc::WWW - Simple calculations with colors for the WWW.
SYNOPSIS
use Color::Calc::WWW; my $background = 'green'; print 'background: ', color($background),';'; print 'border-top: solid 1px ', color_light($background),';'; print 'border-bottom: solid 1px ', color_dark($background),';'; print 'color: ', color_contrast_bw($background),';';
DESCRIPTION
The "Color::Calc::WWW" module implements simple calculations with RGB colors for the World Wide Web. This can be used to create a full color scheme from a few colors. This module is nearly identical to using the following: use Color::Calc('ColorScheme' => 'WWW', 'OutputFormat' => 'html'); However, this module also makes the functions available when not imported: use Color::Calc::WWW(); # don't import Color::Calc::WWW::color('F00');
USAGE
By default, all functions are imported. All functions recognize all HTML color keywords (through Graphics::ColorNames::WWW) and output the results in WWW-compatible formats, i.e. as one of the 16 basic HTML keywords (see Graphics::ColorNames::WWW) or as #RRGGBB. color, color_mix, ... See L<Color::Calc> for a list of available calculation functions.
NOTE
AUTHOR
Claus Faerber <CFAERBER@cpan.org>
LICENSE
Copyright 2004-2010 Claus Faerber. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-06-30 Color::Calc::WWW(3pm)
Related Man Pages
color::calc(3pm) - debian
color::calc::configdata(3pm) - debian
color::calc::www(3pm) - debian
www::mechanize::formfiller::value::callback(3pm) - debian
www::mechanize::formfiller::value::interactive(3pm) - debian
Similar Topics in the Unix Linux Community
Using Calc to manage schedules
Adding Color to bash
Calc Time Difference in Perl
color print using perl
Badge System Color Scheme (Array)