Rand Stats

The uploading author of cpan:HOLLI does not match the META author of github:holli-holzer.

Color::Scheme

cpan:HOLLI

NAME

Color::Scheme - Generate color schemes from a base color

SYNOPSIS

use Color::Scheme;

my $color   = Color.new( "#1A3CFA" );

# this is the sugar
my @palette = color-scheme( $color, 'six-tone-ccw' );

# for this
my @palette = color-scheme( $color, color-scheme-angles<six-tone-ccw> );

# debug flag, to visually inspect the colors
# creates "colors.html" in the current directory
my @palette = color-scheme( $color, 'triadic', :debug );

DESCRIPTION

With Color::Scheme you can create schemes/palettes of colors that work well together.

You pick a base color and one of sixteen schemes and the module will generate a list of colors that harmonize. How many colors depends on the scheme.

There are 16 schemes available:

Those schemes are just lists of angles in a hash ( Color::Scheme::color-scheme-angles).

You can use the second form of the color-scheme sub to pass in your own angles if you have to.

AUTHOR

holli.holzer@gmail.com

COPYRIGHT AND LICENSE

BSD-3 License (see LICENSE file)

This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.