summaryrefslogtreecommitdiff
path: root/readme.md
blob: 05cb2d28c01aad38e4dce30e42c69c3def6cdd0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Color::Spectrum
===============
Just another HTML color generator. [![CPAN Version](https://badge.fury.io/pl/Color-Spectrum.svg)](https://metacpan.org/pod/Color::Spectrum) [![Build Status](https://api.travis-ci.org/jeffa/Color-Spectrum.svg?branch=master)](https://travis-ci.org/jeffa/Color-Spectrum)

Synopsis
--------
```perl
# Procedural interface:
use Color::Spectrum qw(generate);
my @color = generate(10,'#000000','#FFFFFF');

# OO interface:
use Color::Spectrum;
my $spectrum = Color::Spectrum->new();
my @color = $spectrum->generate(10,'#000000','#FFFFFF');
```

Installation
------------
To install this module, you should use CPAN. A good starting
place is [How to install CPAN modules](http://www.cpan.org/modules/INSTALL.html).

If you truly want to install from this github repo, then
be sure and create the manifest before you test and install:
```
perl Makefile.PL
make
make manifest
make test
make install
```

Support and Documentation
-------------------------
After installing, you can find documentation for this module with the
perldoc command.
```
perldoc Color::Spectrum
```

You can also find documentation at [metaCPAN](https://metacpan.org/pod/Color::Spectrum).

License and Copyright
---------------------
See [source POD](/lib/Color/Spectrum.pm).