Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Colour Combinations - Interested?

by moklevat (Priest)
on Dec 05, 2007 at 03:33 UTC ( [id://655021]=note: print w/replies, xml ) Need Help??


in reply to Colour Combinations - Interested?

Although I support the notion that you have to give code to get code, I've always wanted to be a patron of the arts.

#!/usr/bin/perl use strict; use warnings; my @backgrounds = qw/aqua barnred butter cream gold grey ivory lavend +er mint mushroom parchment pink sage skyblue tan/; my @accents = qw/aqua barnred black burgundy butter chocolate cre +am gold grey ivory lavender mint mushroom parchment pink sage skyblue + tan terracotta turqouise violet/; my @focuses = qw/black burgundy chocolate terracotta turquoise vi +olet/; for my $background (@backgrounds) { for my $accent (@accents) { for my $focus (@focuses) { print "$background $accent $focus\n" unless $accent eq $focus; } } }
I'll spare my fellow monks the 41k of output, but Bard Judith could have gotten it from my Scratch Pad for a limited time.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://655021]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-25 17:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found