Rechercher une page de manuel
Color::Calc::WWW.3pm
Langue: en
Version: 2008-09-15 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
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.FUNCTIONS
- color_*($input)
-
See L<Color::Calc> for a list of available calculation functions.
- color($input)
-
Shorthand for C<color_get>.
AUTHOR/LICENSE
Copyright AX 2004-2008 Claus FA~Xrber <CFAERBER@cpan.org>This module is free software; you can redistribute it and/or modify it under the terms of either the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or the ``Artistic License''.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MAA 02110-1301, USA.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre