Color::CalcColor::Calc provides a module which implements simple calculations with RGB colors. | |
Download |
Color::Calc Ranking & Summary
Advertisement
- License:
- GPL
- Price:
- FREE
- Publisher Name:
- Claus Frber
- Publisher web site:
- http://search.cpan.org/~cfaerber/Color-Calc-1.04/Calc.pm
Color::Calc Tags
Color::Calc Description
Color::Calc provides a module which implements simple calculations with RGB colors. Color::Calc provides a module which implements simple calculations with RGB colors.This can be used to create a full color scheme from a few colors.There are three methods to use the calculation functions: You can create an object, import customised functions into your namespace, or you can access them as class methods.The module accepts color values in the following formats:· An arrayref pointing to an array with three elements in the range 0..255 corresponding to the red, green, and blue component.· A list of three values in the range 0..255 corresponding to the red, green, and blue component where the first value does not have 3 or a multiple of 3 digits (e.g. ('0128',128,128)).· A string containing a hexadecimal RGB value like #RGB/#RRGGBB/#RRRGGGBBB/..., or RGB/RRGGBB/RRRGGGBBB/...· A color name accepted by Graphics::ColorNames. The interpretation is controlled by the ColorScheme parameter.· A Graphics::ColorObject reference.
Color::Calc Related Software