The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

example-3way - convert a single 3-tuple into a color

SYNOPSIS

  # report values, do not generate an image
  example-3way [ -tuple a,b,c ] 
               [ -options=>{-saturation=>{-dmin=>0.5,dmax=>1.5}} ]
               [ -verbose ]

DESCRIPTION

Uses Color::TupleEncode to encode a 3-tuple into a color using the default Color::TupleEncode::Baran encoding scheme.

OPTIONS

-tuple a,b,c

Optionally, pass in the 3-tuple as a CSV list using -tuple.

If this option is not used, a random tuple will be encoded.

-options HASH

Pass options to the encoder using a HASH string that can be evaled to a hash reference. For example,

  -options {-saturation=>{dmin=>0.5,dmax=>1.5}}

-verbose

Report the options used in the encoding.

SEE ALSO

Color::TupleEncode, Color::TupleEncode::Baran, Color::TupleEncode::2Way

BUGS

Please report any bugs or feature requests to bug-color-tupleencode at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Color-TupleEncode. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

AUTHOR

Martin Krzywinski, <martin.krzywinski at gmail.com>