Searching for a program I could run to combine certain words in a particular sequence, I stumbled across this page of yours:

http://www.perlmonks.org/?node_id=554374

Exactly what I'm looking for, with a particularly cross-media application :) Let me clarify; I'm an artist working on initial designs for an art diary. Since that involves over three hundred pages, I'd like to run all the possible (yup, logical left brain stuff here! I'm a rather geeky artist...) combinations of my chosen palette - background colour, accent colour, and focal point colour. I know nothing about Perl or any scripting language besides the most basic Basic, so if anyone finds this a fun project and wouldn't mind inputting twenty-one words, running the program and emailing/posting the results, I'd be most appreciative. In fact, I'd mail you a copy of the diary after publication!

Background: parchment, gold, tan, butter, ivory, cream, mushroom, grey, lavender, aqua, skyblue, mint, sage, pink, barnred

Accent: parchment, gold, tan, butter, ivory, cream, mushroom, grey, lavender, aqua, skyblue, mint, sage, pink, barnred, black, chocolate, burgundy, terracotta, turquoise, violet

Focal: black, chocolate, burgundy, terracotta, turquoise, violet

I don't know if there is a way to avoid duplicates (since the accents can be any combination) such as 'cream, violet, violet', but it's not vital. Ideally I'd get a printout in alphabetical order by Background first, then Accent, and finally the Focal variations. Yeah, I know there are a lot of possibilities - (21 x 20 x 19? Is that right?)

Anyone up for the challenge? Contact me on Facebook as Bard Judith, or email me at masterbard (at) poetic (dot) com. Thanks heaps!

Edit: g0n - formatting tags


In reply to Colour Combinations - Interested? by Bard Judith

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.