| Acme-Tango documentation | view source | Contained in the Acme-Tango distribution. |
Acme::Tango - Turn colours orange
version 0.07
use Acme::Tango;
my $hex_string = Acme::Tango::drink('#00bbff');
# But then also
my $hex_string = Acme::Tango::drink('#00bbcc', 'apple');
Given a hex rgb colour string (like: "#aaff4f" or "44f567" or "#fab"),
returns the hex string of the shade of orange with the same saturation
and value values. Unless you specifically specify that Apple or Lemon
tango are what you're after, by passing apple or lemon as the
second argument. See:
perl eg/colour_swatches.pl should give you an HTML segment to look
at. If you're reading this page in an HTML-compatible POD reader, you
can see the results below:
Pete Sergeant - pete@clueball.com
http://www.tango.com
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
Tango is someone else's registered trademark - see: http://www.tango.com
| Acme-Tango documentation | view source | Contained in the Acme-Tango distribution. |