Acme::Tango - Turn colours orange


Acme-Tango documentation  | view source Contained in the Acme-Tango distribution.

Index


NAME

Top

Acme::Tango - Turn colours orange

VERSION

Top

version 0.07

SYNOPSIS

Top

	use Acme::Tango;

	my $hex_string = Acme::Tango::drink('#00bbff');

 # But then also

  my $hex_string = Acme::Tango::drink('#00bbcc', 'apple');

METHODS

Top

drink

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:

https://rt.cpan.org/Ticket/Display.html?id=6730

EXAMPLE

Top

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:

AUTHOR

Top

Pete Sergeant - pete@clueball.com

SEE ALSO

Top

http://www.tango.com

LICENSE

Top

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.