GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  COLOR::CALC::WWW (3)

.ds Aq ’

NAME

Color::Calc::WWW - Simple calculations with colors for the WWW.

CONTENTS

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();               # dont 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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 COLOR::CALC::WWW (3) 2014-09-27

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.