Acme::Colour

Additive and subtractive human-readable colours
Download

Acme::Colour Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Leon Brocard
  • Publisher web site:
  • http://search.cpan.org/~lbrocard/

Acme::Colour Tags


Acme::Colour Description

Additive and subtractive human-readable colours Acme::Colour is a Perl module that mixes colours with human-readable names.There are two types of colour mixing: the mixing of lights and the mixing of pigments. If one take two differently coloured beams of light and projects them on to a screen, the mixing of these lights occurs according to the principle of additive colour mixing. If one mixes two differently coloured paints they mix according to the principle of subtractive colour mixing.SYNOPSIS # light $c = Acme::Colour->new("black"); $colour = $c->colour; # black $c->add("red"); # $c->colour now red $c->add("green"); # $c->colour now yellow # pigment $c = Acme::Colour->new("white"); $c->mix("cyan"); # $c->colour now cyan $c->mix("magenta"); # $c->colour now blue Requirements: · Perl


Acme::Colour Related Software