Wolfram Computation Meets Knowledge

Crafty Computation: Cross-Stitch Patterns with the Wolfram Language

For many of us, programming represents leisure time just as much as work. Here at Wolfram, we have an incredibly creative group with a wide variety of hobbies, on the screen and off—including textile arts like cross-stitch. So when my colleague Jay suggested that I create a cross-stitch program using the Wolfram Language, I replied with “Challenge accepted!” Jay was looking for a simple way to generate a cross-stitch pattern from a photograph—or really any image—with the colors corresponding to the DMC thread ID numbers. We both knew that the image-processing capabilities of the Wolfram Language would make this an easy task, but incorporating the DMC thread catalog seemed a more interesting challenge. Armed with both computer and (virtual) thread, I set out on my quest to create the perfect cross-stitch pattern generator.

Crafty Computation: Cross-Stitch Patterns with the Wolfram Language
Engage with the code in this post by downloading the Wolfram Notebook

Converting the Image

It’s actually quite easy to translate a shape into a cross-stitch pattern with the Wolfram Language. Each stitch becomes a “pixel,” and each color a thread. The first things we want to do are reduce the resolution of the image so that we do not have thousands of stitches to do, and reduce the number of colors so that we don’t have to manage too many threads:

simplifyImage
&#10005

simplifyImage[img_Image, size_, colors_] := 
 ColorQuantize[ImageResize[RemoveAlphaChannel[img, White], size], 
  colors, Dithering -> False]

Then we choose our image. For our example, I decided on our favorite rhombic hexecontahedron, the Mathematica 8 variant of the Spikey! We will use a 50×50 grid and 12 different colored threads:

spikey = simplifyImage
&#10005

spikey = simplifyImage[CloudGet["https://wolfr.am/IRzrXm5d"], 50, 12]

By de-duplicating the RGB values of the image, we get the list of colors that we need to match to:

colorList[img_Image]
&#10005

colorList[img_Image] := RGBColor @@@ Union[Flatten[ImageData[img], 1]]

This list should be 12 colors long, since that is what we asked for:

colorList[spikey]
&#10005

colorList[spikey]

Threading the Needle

We now need to map these colors to the nearest color threads that we can purchase. One popular brand is DMC. I found two lists of their palette in RGB specifications that differed by small amounts and a website with photographs of every thread. I couldn’t decide which was the best source, so I used Blend to find the perceptual average of all three sources to make my own version of the DMC thread catalog. The images were first converted to colors using DominantColors:

DMCColorDS = Dataset
&#10005

DMCColorDS = Dataset[{
Association[
   "ID" -> "150", "Name" -> "Dusty Rose Ultra Very Dark", 
    "Color" -> RGBColor[
     0.7130735144994178, 0.06722969151153689, 0.2962051307464216]], 
Association[
   "ID" -> "151", "Name" -> "Dusty Rose Very Light", 
    "Color" -> RGBColor[
     0.9719271241541565, 0.8167943631859975, 0.8454660447377095]], 
Association[
   "ID" -> "152", "Name" -> "Shell Pink Medium Light", 
    "Color" -> RGBColor[
     0.8784454199481958, 0.6441310270063328, 0.627363113788062]], 
Association[
   "ID" -> "153", "Name" -> "Violet Very Light", 
    "Color" -> RGBColor[
     0.9099078797089255, 0.7993660850873694, 0.8779148665446477]], 
Association[
   "ID" -> "154", "Name" -> "Grape Very Dark", 
    "Color" -> RGBColor[
     0.303499830191294, 0.15009533554465096`, 0.20179121778435796`]], 
   
Association[
   "ID" -> "155", "Name" -> "Blue Violet Medium Dark", 
    "Color" -> RGBColor[
     0.5527220215236172, 0.4959011897860782, 0.7010600577652064]], 
Association[
   "ID" -> "156", "Name" -> "Blue Violet Medium Light", 
    "Color" -> RGBColor[
     0.5676333261110638, 0.5887278066331126, 0.7644463194556792]], 
Association[
   "ID" -> "157", "Name" -> "Cornflower Blue Very Light", 
    "Color" -> RGBColor[
     0.7287493169028201, 0.7678731042904277, 0.885103578363007]], 
Association[
   "ID" -> "158", "Name" -> "Cornflower Blue Medium Very Dark", 
    "Color" -> RGBColor[
     0.23617035239046102`, 0.24947460893590784`, 0.4410773398389901]], 
Association[
   "ID" -> "159", "Name" -> "Blue Gray Light", 
    "Color" -> RGBColor[
     0.7417183445202584, 0.7512834511972102, 0.8381631504007827]], 
Association[
   "ID" -> "160", "Name" -> "Blue Gray Medium", 
    "Color" -> RGBColor[
     0.5560570266522777, 0.5782936828230144, 0.7143798837757818]], 
Association[
   "ID" -> "161", "Name" -> "Blue Gray", 
    "Color" -> RGBColor[
     0.39784096066019264`, 0.41461129974969957`, 0.577117586627748]], 
   
Association[
   "ID" -> "162", "Name" -> "Blue Ultra Very Light", 
    "Color" -> RGBColor[
     0.8042680207091218, 0.8937762270141425, 0.9281164322871404]], 
Association[
   "ID" -> "163", "Name" -> "Celadon Green Medium", 
    "Color" -> RGBColor[
     0.30975649310833536`, 0.502694833478859, 0.37208249689201706`]], 
   
Association[
   "ID" -> "164", "Name" -> "Forest Green Light", 
    "Color" -> RGBColor[
     0.7550695225031069, 0.8639119590434433, 0.6976130497033213]], 
Association[
   "ID" -> "165", "Name" -> "Moss Green Very Light", 
    "Color" -> RGBColor[
     0.9178562264124419, 0.9367483690201033, 0.5333433734724925]], 
Association[
   "ID" -> "166", "Name" -> "Moss Green Medium Light", 
    "Color" -> RGBColor[
     0.7134910110311976, 0.7371011524702985, 0.23270402954941516`]], 
Association[
   "ID" -> "167", "Name" -> "Yellow Beige Very Dark", 
    "Color" -> RGBColor[
     0.5705981094839567, 0.41247309373913066`, 0.2241119626751379]], 
Association[
   "ID" -> "168", "Name" -> "Pewter Very Light", 
    "Color" -> RGBColor[
     0.7809552452992965, 0.7869945371758522, 0.7978048290345158]], 
Association[
   "ID" -> "169", "Name" -> "Pewter Light", 
    "Color" -> RGBColor[
     0.5152217277926623, 0.5231331381411383, 0.49724132434917234`]], 
Association[
   "ID" -> "208", "Name" -> "Lavender Very Dark", 
    "Color" -> RGBColor[
     0.5497835429007392, 0.3319645153922745, 0.606453405198714]], 
Association[
   "ID" -> "209", "Name" -> "Lavender Dark", 
    "Color" -> RGBColor[
     0.6881078534796319, 0.478591548302273, 0.6913332377111205]], 
Association[
   "ID" -> "210", "Name" -> "Lavender Medium", 
    "Color" -> RGBColor[
     0.7886560885393479, 0.6289970618252632, 0.8003566603490607]], 
Association[
   "ID" -> "211", "Name" -> "Lavender Light", 
    "Color" -> RGBColor[
     0.8726000653324881, 0.769362960740436, 0.8859040737776538]], 
Association[
   "ID" -> "221", "Name" -> "Shell Pink Very Dark", 
    "Color" -> RGBColor[
     0.5077234030034894, 0.20523616991639884`, 0.23037198755211616`]], 
Association[
   "ID" -> "223", "Name" -> "Shell Pink Light", 
    "Color" -> RGBColor[
     0.7727905634947771, 0.4510943502726514, 0.4409821961581498]], 
Association[
   "ID" -> "224", "Name" -> "Shell Pink Very Light", 
    "Color" -> RGBColor[
     0.8545174165256965, 0.6209970720392674, 0.5825935817806123]], 
Association[
   "ID" -> "225", "Name" -> "Shell Pink Ultra Very Light", 
    "Color" -> RGBColor[
     0.9719505884546573, 0.8694386030206229, 0.8328553889049043]], 
Association[
   "ID" -> "300", "Name" -> "Mahogany Very Dark", 
    "Color" -> RGBColor[
     0.42020377447668045`, 0.20040932905872816`, 
      0.08036040058246952]], 
Association[
   "ID" -> "301", "Name" -> "Mahogany Medium", 
    "Color" -> RGBColor[
     0.6363409286451785, 0.3208868273564649, 0.1855294671451322]], 
Association[
   "ID" -> "3011", "Name" -> "Khaki Green Dark", 
    "Color" -> RGBColor[
     0.4705284886178672, 0.4512860481571683, 0.2643983652760538]], 
Association[
   "ID" -> "3012", "Name" -> "Khaki Green Medium", 
    "Color" -> RGBColor[
     0.566186656120327, 0.5354195894401758, 0.2961236786006347]], 
Association[
   "ID" -> "3013", "Name" -> "Khaki Green Light", 
    "Color" -> RGBColor[
     0.7349493059376377, 0.7170533124754148, 0.48349473128590215`]], 
Association[
   "ID" -> "3021", "Name" -> "Brown Gray Very Dark", 
    "Color" -> RGBColor[
     0.3186970356027604, 0.2753934903609379, 0.2251359889855699]], 
Association[
   "ID" -> "3022", "Name" -> "Brown Gray Medium", 
    "Color" -> RGBColor[
     0.5685176793539417, 0.5609592200493858, 0.461271852475468]], 
Association[
   "ID" -> "3023", "Name" -> "Brown Gray Light", 
    "Color" -> RGBColor[
     0.6527452641732472, 0.6160084928358334, 0.516186280589775]], 
Association[
   "ID" -> "3024", "Name" -> "Brown Gray Very Light", 
    "Color" -> RGBColor[
     0.8386742069868413, 0.8273376459725672, 0.7862749425203654]], 
Association[
   "ID" -> "3031", "Name" -> "Mocha Brown Very Dark", 
    "Color" -> RGBColor[
     0.27513354791397504`, 0.21955875683870527`, 0.1293715457799877]], 
Association[
   "ID" -> "3032", "Name" -> "Mocha Brown Medium", 
    "Color" -> RGBColor[
     0.7166591761928207, 0.631218575689612, 0.5039743662758716]], 
Association[
   "ID" -> "3033", "Name" -> "Mocha Brown Very Light", 
    "Color" -> RGBColor[
     0.9069396969485628, 0.854737994510953, 0.7751374096998845]], 
Association[
   "ID" -> "304", "Name" -> "Red Medium", 
    "Color" -> RGBColor[
     0.6637591193192033, 0.10523614311729161`, 0.21824406443117758`]], 
Association[
   "ID" -> "3041", "Name" -> "Antique Violet Medium", 
    "Color" -> RGBColor[
     0.5569555336431875, 0.41249395599866034`, 0.46950238526697496`]], 
Association[
   "ID" -> "3042", "Name" -> "Antique Violet Light", 
    "Color" -> RGBColor[
     0.7299228873001095, 0.6375711710592481, 0.6767769079105322]], 
Association[
   "ID" -> "3045", "Name" -> "Yellow Beige Dark", 
    "Color" -> RGBColor[
     0.7222973733169572, 0.5658120544090137, 0.3341447891436439]], 
Association[
   "ID" -> "3046", "Name" -> "Yellow Beige Medium", 
    "Color" -> RGBColor[
     0.8522873042755701, 0.7461562040421252, 0.5277069359578317]], 
Association[
   "ID" -> "3047", "Name" -> "Yellow Beige Light", 
    "Color" -> RGBColor[
     0.9143282551748904, 0.859756369183958, 0.7084853710815571]], 
Association[
   "ID" -> "3051", "Name" -> "Green Gray Dark", 
    "Color" -> RGBColor[
     0.339548814827875, 0.35814443129647083`, 0.2027088217247054]], 
Association[
   "ID" -> "3052", "Name" -> "Green Gray Medium", 
    "Color" -> RGBColor[
     0.5576078659082472, 0.5824556248061471, 0.3898557490596936]], 
Association[
   "ID" -> "3053", "Name" -> "Green Gray", 
    "Color" -> RGBColor[
     0.6435984384369311, 0.6594707955100391, 0.4765777537899522]], 
Association[
   "ID" -> "3064", "Name" -> "Desert Sand", 
    "Color" -> RGBColor[
     0.7147203327242336, 0.4575519173428111, 0.33697443641923536`]], 
Association[
   "ID" -> "307", "Name" -> "Lemon", 
    "Color" -> RGBColor[
     0.9924956550703079, 0.9136679683103983, 0.23537768148494034`]], 
Association[
   "ID" -> "3072", "Name" -> "Beaver Gray Very Light", 
    "Color" -> RGBColor[
     0.8615463153748159, 0.8684228951508923, 0.8426745237363351]], 
Association[
   "ID" -> "3078", "Name" -> "Golden Yellow Very Light", 
    "Color" -> RGBColor[
     0.9898810410099474, 0.9512034731275897, 0.7062483755751097]], 
Association[
   "ID" -> "309", "Name" -> "Rose Dark", 
    "Color" -> RGBColor[
     0.7373203893234093, 0.1566291988025208, 0.2786831606767616]], 
Association[
   "ID" -> "310", "Name" -> "Black", 
    "Color" -> RGBColor[
     0.009227050300308659, 0.01970577574100027, 
      0.004772147451195818]], 
Association[
   "ID" -> "311", "Name" -> "Wedgewood Ultra VeryDark", 
    "Color" -> RGBColor[
     0.0798394734659589, 0.22721345902449047`, 0.36077668619494]], 
Association[
   "ID" -> "312", "Name" -> "Baby Blue Very Dark", 
    "Color" -> RGBColor[
     0.12812078558542866`, 0.3168621293855275, 0.5252099040624777]], 
Association[
   "ID" -> "315", "Name" -> "Antique Mauve Medium Dark", 
    "Color" -> RGBColor[
     0.5024521028562516, 0.2765304146191343, 0.301290681765565]], 
Association[
   "ID" -> "316", "Name" -> "Antique Mauve Medium", 
    "Color" -> RGBColor[
     0.7401490559347272, 0.47517809250059273`, 0.5129415099969551]], 
Association[
   "ID" -> "317", "Name" -> "Pewter Gray", 
    "Color" -> RGBColor[
     0.40165593384690984`, 0.4099437455336834, 0.4271989401137985]], 
Association[
   "ID" -> "318", "Name" -> "Steel Gray Light", 
    "Color" -> RGBColor[
     0.6154293922020293, 0.6314069578274959, 0.6373081604271109]], 
Association[
   "ID" -> "319", "Name" -> "Pistachio Green Very Dark", 
    "Color" -> RGBColor[
     0.18246903500655678`, 0.3502341776685122, 0.20694656744366163`]], 
Association[
   "ID" -> "320", "Name" -> "Pistachio Green Medium", 
    "Color" -> RGBColor[
     0.40358174688351517`, 0.5342625568991164, 0.32805790400838886`]], 
Association[
   "ID" -> "321", "Name" -> "Red", 
    "Color" -> RGBColor[
     0.7390040221278842, 0.13078637706680227`, 0.23514977488452726`]], 
Association[
   "ID" -> "322", "Name" -> "Baby Blue Dark", 
    "Color" -> RGBColor[
     0.2718777229756956, 0.4656335436002105, 0.659246870462951]], 
Association[
   "ID" -> "326", "Name" -> "Rose Very Dark", 
    "Color" -> RGBColor[
     0.6762664630628388, 0.17337404258863406`, 0.25982320077824295`]], 
Association[
   "ID" -> "327", "Name" -> "Violet Dark", 
    "Color" -> RGBColor[
     0.4099837381254335, 0.17317242363659047`, 0.42770597748472444`]], 
Association[
   "ID" -> "3325", "Name" -> "Baby Blue Light", 
    "Color" -> RGBColor[
     0.6835404626497422, 0.8030112910874361, 0.891155825752853]], 
Association[
   "ID" -> "3326", "Name" -> "Rose Light", 
    "Color" -> RGBColor[
     0.946017951990718, 0.622567637267992, 0.653989107957421]], 
Association[
   "ID" -> "3328", "Name" -> "Salmon Dark", 
    "Color" -> RGBColor[
     0.809649495714328, 0.33501673982757446`, 0.35751480777889383`]], 
   
Association[
   "ID" -> "333", "Name" -> "Blue Violet Very Dark", 
    "Color" -> RGBColor[
     0.34099903968386075`, 0.2417768635926451, 0.5162040668607084]], 
Association[
   "ID" -> "334", "Name" -> "Baby Blue Medium", 
    "Color" -> RGBColor[
     0.4305087724197676, 0.6016097740733559, 0.7554385445336236]], 
Association[
   "ID" -> "3340", "Name" -> "Apricot Medium", 
    "Color" -> RGBColor[
     0.9663061811114209, 0.4414839460641907, 0.32386535934969873`]], 
Association[
   "ID" -> "3341", "Name" -> "Apricot", 
    "Color" -> RGBColor[
     0.9607769932598655, 0.5690006232652449, 0.4645921732292542]], 
Association[
   "ID" -> "3345", "Name" -> "Hunter Green Dark", 
    "Color" -> RGBColor[
     0.19071508348670885`, 0.34122672688729516`, 0.1526985347835243]], 
Association[
   "ID" -> "3346", "Name" -> "Hunter Green", 
    "Color" -> RGBColor[
     0.3195651431408775, 0.4407814113995746, 0.238088326773567]], 
Association[
   "ID" -> "3347", "Name" -> "Yellow Green Medium", 
    "Color" -> RGBColor[
     0.4155501599127234, 0.5307819682771382, 0.286709434024472]], 
Association[
   "ID" -> "3348", "Name" -> "Yellow Green Light", 
    "Color" -> RGBColor[
     0.798776582048792, 0.8675914577762656, 0.5703839951609517]], 
Association[
   "ID" -> "335", "Name" -> "Rose", 
    "Color" -> RGBColor[
     0.8501113311001782, 0.2853360393922408, 0.38605204393120246`]], 
Association[
   "ID" -> "3350", "Name" -> "Dusty Rose Ultra Dark", 
    "Color" -> RGBColor[
     0.716607831841413, 0.241344436700061, 0.34033905290696315`]], 
Association[
   "ID" -> "3354", "Name" -> "Dusty Rose Light", 
    "Color" -> RGBColor[
     0.9007671185886863, 0.6263241088985934, 0.6582464051310573]], 
Association[
   "ID" -> "336", "Name" -> "Navy Blue", 
    "Color" -> RGBColor[
     0.10019250185336945`, 0.2032769177669872, 0.3839696616902139]], 
Association[
   "ID" -> "3362", "Name" -> "Pine Green Dark", 
    "Color" -> RGBColor[
     0.29152755024927096`, 0.3397327744714346, 0.22201867012493198`]], 
Association[
   "ID" -> "3363", "Name" -> "Pine Green Medium", 
    "Color" -> RGBColor[
     0.4150399214105999, 0.4916949300569585, 0.31358147065944064`]], 
Association[
   "ID" -> "3364", "Name" -> "Pine Green", 
    "Color" -> RGBColor[
     0.5785780522476371, 0.6299331474937901, 0.3940253441325534]], 
Association[
   "ID" -> "3371", "Name" -> "Black Brown", 
    "Color" -> RGBColor[
     0.140325288936447, 0.0958717216248423, 0.037785193334982904`]], 
Association[
   "ID" -> "340", "Name" -> "Blue Violet Medium", 
    "Color" -> RGBColor[
     0.640923709189114, 0.5795816779620933, 0.785070014988053]], 
Association[
   "ID" -> "341", "Name" -> "Blue Violet Light", 
    "Color" -> RGBColor[
     0.6676557205759841, 0.6887628533664246, 0.8378887717866714]], 
Association[
   "ID" -> "347", "Name" -> "Salmon Very Dark", 
    "Color" -> RGBColor[
     0.7336186213574325, 0.15654918168160792`, 0.22134834106032292`]], 
Association[
   "ID" -> "349", "Name" -> "Coral Dark", 
    "Color" -> RGBColor[
     0.8176602937226739, 0.12143026693424663`, 0.2252471476336264]], 
Association[
   "ID" -> "350", "Name" -> "Coral Medium", 
    "Color" -> RGBColor[
     0.8883496305606029, 0.2658117594912689, 0.2729153401046994]], 
Association[
   "ID" -> "351", "Name" -> "Coral", 
    "Color" -> RGBColor[
     0.9145541993206299, 0.3909360161213803, 0.3668983791250706]], 
Association[
   "ID" -> "352", "Name" -> "Coral Light", 
    "Color" -> RGBColor[
     0.9627062680937055, 0.5433557473376411, 0.49896942377392667`]], 
Association[
   "ID" -> "353", "Name" -> "Peach", 
    "Color" -> RGBColor[
     0.9859261285230783, 0.7661297829935382, 0.7062470236318501]], 
Association[
   "ID" -> "355", "Name" -> "Terra Cotta Dark", 
    "Color" -> RGBColor[
     0.5962263516148928, 0.2345010595698452, 0.18726235030758248`]], 
Association[
   "ID" -> "356", "Name" -> "Terra Cotta Medium", 
    "Color" -> RGBColor[
     0.770413376530542, 0.3995122902608109, 0.32761934603539156`]], 
Association[
   "ID" -> "3607", "Name" -> "Plum Light", 
    "Color" -> RGBColor[
     0.7744277128722542, 0.2763886843683831, 0.5317997078331721]], 
Association[
   "ID" -> "3608", "Name" -> "Plum Very Light", 
    "Color" -> RGBColor[
     0.8906716563163988, 0.5650123342666742, 0.7425832565698338]], 
Association[
   "ID" -> "3609", "Name" -> "Plum Ultra Light", 
    "Color" -> RGBColor[
     0.9364648909388806, 0.7123760131990633, 0.848455328147387]], 
Association[
   "ID" -> "367", "Name" -> "Pistachio Green Dark", 
    "Color" -> RGBColor[
     0.31502135122354535`, 0.4435711088060556, 0.27786962446827657`]], 
Association[
   "ID" -> "368", "Name" -> "Pistachio Green Light", 
    "Color" -> RGBColor[
     0.575906832311833, 0.7401810479044808, 0.47112183083503945`]], 
Association[
   "ID" -> "3685", "Name" -> "Mauve Very Dark", 
    "Color" -> RGBColor[
     0.4628970986747041, 0.12207833231412651`, 0.21955603671384435`]], 
Association[
   "ID" -> "3687", "Name" -> "Mauve", 
    "Color" -> RGBColor[
     0.718479156611811, 0.32352079607950346`, 0.3929032624502436]], 
Association[
   "ID" -> "3688", "Name" -> "Mauve Medium", 
    "Color" -> RGBColor[
     0.8740888845299115, 0.5400342989124759, 0.5872658555262765]], 
Association[
   "ID" -> "3689", "Name" -> "Mauve Light", 
    "Color" -> RGBColor[
     0.9746341931728701, 0.7747615812765574, 0.8018567890500179]], 
Association[
   "ID" -> "369", "Name" -> "Pistachio Green Very Light", 
    "Color" -> RGBColor[
     0.8035540074537855, 0.8962719030946457, 0.6979604484826815]], 
Association[
   "ID" -> "370", "Name" -> "Mustard Medium", 
    "Color" -> RGBColor[
     0.6602077882067703, 0.5470544771243687, 0.3062106784872599]], 
Association[
   "ID" -> "3705", "Name" -> "Melon Dark", 
    "Color" -> RGBColor[
     0.9212652873641678, 0.32648673460178157`, 0.39433229737469044`]], 
Association[
   "ID" -> "3706", "Name" -> "Melon Medium", 
    "Color" -> RGBColor[
     0.9753765327307823, 0.5241112071044951, 0.5580474466800951]], 
Association[
   "ID" -> "3708", "Name" -> "Melon Light", 
    "Color" -> RGBColor[
     0.9774644048037616, 0.6704550623398664, 0.7111103472461616]], 
Association[
   "ID" -> "371", "Name" -> "Mustard", 
    "Color" -> RGBColor[
     0.7380984148832423, 0.6406355165408811, 0.3853514765138044]], 
Association[
   "ID" -> "3712", "Name" -> "Salmon Medium", 
    "Color" -> RGBColor[
     0.8791776633049724, 0.4269595114634407, 0.4485423067008084]], 
Association[
   "ID" -> "3713", "Name" -> "Salmon Very Light", 
    "Color" -> RGBColor[
     0.977894563832489, 0.8454441475381921, 0.8472435525705942]], 
Association[
   "ID" -> "3716", "Name" -> "Dusty Rose Medium Very Light", 
    "Color" -> RGBColor[
     0.961752320658727, 0.6958161394493528, 0.7194578727403775]], 
Association[
   "ID" -> "372", "Name" -> "Mustard Light", 
    "Color" -> RGBColor[
     0.7789620290591307, 0.7069900982458814, 0.47721706836429917`]], 
Association[
   "ID" -> "3721", "Name" -> "Shell Pink Dark", 
    "Color" -> RGBColor[
     0.614293469479233, 0.26380895910537494`, 0.27731432577254395`]], 
   
Association[
   "ID" -> "3722", "Name" -> "Shell Pink Medium", 
    "Color" -> RGBColor[
     0.6723444114576708, 0.34489427492284763`, 0.34110790273262703`]], 
Association[
   "ID" -> "3726", "Name" -> "Antique Mauve Dark", 
    "Color" -> RGBColor[
     0.61112721580595, 0.35282179635597943`, 0.37562424727892046`]], 
Association[
   "ID" -> "3727", "Name" -> "Antique Mauve Light", 
    "Color" -> RGBColor[
     0.8427073125707046, 0.6296803291720211, 0.656753296235999]], 
Association[
   "ID" -> "3731", "Name" -> "Dusty Rose Very Dark", 
    "Color" -> RGBColor[
     0.8173351527419668, 0.34079562136300945`, 0.43723649923364805`]], 
Association[
   "ID" -> "3733", "Name" -> "Dusty Rose", 
    "Color" -> RGBColor[
     0.9141127855294879, 0.5397477288682643, 0.5910330278284703]], 
Association[
   "ID" -> "3740", "Name" -> "Antique Violet Dark", 
    "Color" -> RGBColor[
     0.4741317344945151, 0.3298850697055921, 0.3638558455488417]], 
Association[
   "ID" -> "3743", "Name" -> "Antique Violet Very Light", 
    "Color" -> RGBColor[
     0.8501898817707843, 0.8015477239343819, 0.8251244503352846]], 
Association[
   "ID" -> "3746", "Name" -> "Blue Violet Dark", 
    "Color" -> RGBColor[
     0.4293188450688238, 0.33756002179421307`, 0.6229579381236916]], 
Association[
   "ID" -> "3747", "Name" -> "Blue Violet Very Light", 
    "Color" -> RGBColor[
     0.8284890095112949, 0.8325482439424745, 0.9216173833274792]], 
Association[
   "ID" -> "3750", "Name" -> "Antique Blue Very Dark", 
    "Color" -> RGBColor[
     0.17254014493964587`, 0.2847433665379586, 0.35395003906662875`]], 
Association[
   "ID" -> "3752", "Name" -> "Antique Blue Very Light", 
    "Color" -> RGBColor[
     0.75515285206547, 0.8112569274261896, 0.8425319209839137]], 
Association[
   "ID" -> "3753", "Name" -> "Antique Blue Ultra Very Light", 
    "Color" -> RGBColor[
     0.8465492900715826, 0.8870078264960125, 0.9068410136499032]], 
Association[
   "ID" -> "3755", "Name" -> "Baby Blue", 
    "Color" -> RGBColor[
     0.5452427865418485, 0.6934953561552561, 0.8361523327317175]], 
Association[
   "ID" -> "3756", "Name" -> "Baby Blue Ultra Very Light", 
    "Color" -> RGBColor[
     0.9145275725567834, 0.9558607757669761, 0.9599231655272471]], 
Association[
   "ID" -> "3760", "Name" -> "Wedgewood Medium", 
    "Color" -> RGBColor[
     0.22574621920039162`, 0.49840174493443085`, 0.630270083692891]], 
   
Association[
   "ID" -> "3761", "Name" -> "Sky Blue Light", 
    "Color" -> RGBColor[
     0.7210742966710288, 0.8560807882877013, 0.8970372256143245]], 
Association[
   "ID" -> "3765", "Name" -> "Peacock Blue Very Dark", 
    "Color" -> RGBColor[
     0.10295286624187941`, 0.44531882765636965`, 0.5361490955181649]], 
Association[
   "ID" -> "3766", "Name" -> "Peacock Blue Light", 
    "Color" -> RGBColor[
     0.4361874069855681, 0.6886327879379002, 0.7509761391134476]], 
Association[
   "ID" -> "3768", "Name" -> "Gray Green Dark", 
    "Color" -> RGBColor[
     0.31542553744405316`, 0.4108183824639983, 0.39908837347116466`]], 
Association[
   "ID" -> "3770", "Name" -> "Tawny Very Light", 
    "Color" -> RGBColor[
     0.9928352678518934, 0.9356122687467067, 0.8592187203337374]], 
Association[
   "ID" -> "3771", "Name" -> "Terra Cotta Ultra Very Light", 
    "Color" -> RGBColor[
     0.9502435053620817, 0.7136793568557505, 0.610430429571654]], 
Association[
   "ID" -> "3772", "Name" -> "Desert Sand Very Dark", 
    "Color" -> RGBColor[
     0.6461390586021399, 0.39865892981340956`, 0.2869655166675267]], 
Association[
   "ID" -> "3773", "Name" -> "Desert Sand Dark", 
    "Color" -> RGBColor[
     0.726619831922684, 0.4979147717550514, 0.3912140957716629]], 
Association[
   "ID" -> "3774", "Name" -> "Desert Sand Very Light", 
    "Color" -> RGBColor[
     0.9452029456458605, 0.8500626424992194, 0.7714943733980071]], 
Association[
   "ID" -> "3776", "Name" -> "Mahogany Light", 
    "Color" -> RGBColor[
     0.8122821351089762, 0.4409179585963551, 0.23273992816176317`]], 
Association[
   "ID" -> "3777", "Name" -> "Terra Cotta Very Dark", 
    "Color" -> RGBColor[
     0.5648059479046222, 0.18762663555670986`, 0.1510372670371246]], 
Association[
   "ID" -> "3778", "Name" -> "Terra Cotta Light", 
    "Color" -> RGBColor[
     0.8184538024701807, 0.48256422036158464`, 0.39397395227129006`]], 
Association[
   "ID" -> "3779", "Name" -> "Rosewood Ultra Very Light", 
    "Color" -> RGBColor[
     0.9530001460270618, 0.7526525502324084, 0.6873184220534044]], 
Association[
   "ID" -> "3781", "Name" -> "Mocha Brown Dark", 
    "Color" -> RGBColor[
     0.3787995356537318, 0.29303517573996324`, 0.2077956950566724]], 
Association[
   "ID" -> "3782", "Name" -> "Mocha Brown Light", 
    "Color" -> RGBColor[
     0.8003602087618764, 0.7114076799471714, 0.5924636502558723]], 
Association[
   "ID" -> "3787", "Name" -> "Brown Gray Dark", 
    "Color" -> RGBColor[
     0.3901193635436535, 0.3548081198552423, 0.2934774749489407]], 
Association[
   "ID" -> "3790", "Name" -> "Beige Gray Ultra Dark", 
    "Color" -> RGBColor[
     0.4755537806806277, 0.39442855685218636`, 0.3032038769872812]], 
Association[
   "ID" -> "3799", "Name" -> "Pewter Gray Very Dark", 
    "Color" -> RGBColor[
     0.23827103333146388`, 0.24425758439328385`, 0.23815416350508262`]
     ], 
Association[
   "ID" -> "3801", "Name" -> "Melon Very Dark", 
    "Color" -> RGBColor[
     0.9027937608622266, 0.2617078683251732, 0.32951913903573893`]], 
Association[
   "ID" -> "3802", "Name" -> "Antique Mauve Very Dark", 
    "Color" -> RGBColor[
     0.435773272161949, 0.22365290990967676`, 0.24947991689337884`]], 
   
Association[
   "ID" -> "3803", "Name" -> "Mauve Dark", 
    "Color" -> RGBColor[
     0.5690515085604053, 0.18589194509584028`, 0.30712609619288755`]], 
Association[
   "ID" -> "3804", "Name" -> "Cyclamen Pink Dark", 
    "Color" -> RGBColor[
     0.8244680208341278, 0.1791578009063406, 0.41523347025263235`]], 
Association[
   "ID" -> "3805", "Name" -> "Cyclamen Pink", 
    "Color" -> RGBColor[
     0.8920623706351976, 0.26417413520911914`, 0.4990897509136486]], 
Association[
   "ID" -> "3806", "Name" -> "Cyclamen Pink Light", 
    "Color" -> RGBColor[
     0.9371853920472588, 0.4363227392157245, 0.6099307390741632]], 
Association[
   "ID" -> "3807", "Name" -> "Cornflower Blue", 
    "Color" -> RGBColor[
     0.3302076524177393, 0.3893409744323703, 0.6013089738226937]], 
Association[
   "ID" -> "3808", "Name" -> "Turquoise Ultra Very Dark", 
    "Color" -> RGBColor[
     0.10356330833463132`, 0.3295058204083306, 0.3645528926036189]], 
Association[
   "ID" -> "3809", "Name" -> "Turquoise Very Dark", 
    "Color" -> RGBColor[
     0.13460409539822676`, 0.43543974258815815`, 0.4906124952718558]], 
Association[
   "ID" -> "3810", "Name" -> "Turquoise Dark", 
    "Color" -> RGBColor[
     0.2197537868409901, 0.5768716651309105, 0.6397080701713385]], 
Association[
   "ID" -> "3811", "Name" -> "Turquoise Very Light", 
    "Color" -> RGBColor[
     0.6735696862706113, 0.8548423322036891, 0.8663998613715035]], 
Association[
   "ID" -> "3812", "Name" -> "Sea Green Very Dark", 
    "Color" -> RGBColor[
     0.084433236905016, 0.5860717483306378, 0.5130086152667122]], 
Association[
   "ID" -> "3813", "Name" -> "Blue Green Light", 
    "Color" -> RGBColor[
     0.6059981866303858, 0.7758153784781057, 0.6813163025174701]], 
Association[
   "ID" -> "3814", "Name" -> "Aquamarine", 
    "Color" -> RGBColor[
     0.1454872699106405, 0.5166551774903807, 0.43194039100516524`]], 
Association[
   "ID" -> "3815", "Name" -> "Celadon Green Dark", 
    "Color" -> RGBColor[
     0.27296564040704696`, 0.47462858108097705`, 0.3586158872456036]], 
Association[
   "ID" -> "3816", "Name" -> "Celadon Green", 
    "Color" -> RGBColor[
     0.42408427698874235`, 0.6384982066013805, 0.5082042222185168]], 
Association[
   "ID" -> "3817", "Name" -> "Celadon Green Light", 
    "Color" -> RGBColor[
     0.5695678259316524, 0.76549160124339, 0.6537559488385469]], 
Association[
   "ID" -> "3818", "Name" -> "Emerald Green Ultra V Dark", 
    "Color" -> RGBColor[
     0.029778703948438942`, 0.3803549091943619, 
      0.22921057632683112`]], 
Association[
   "ID" -> "3819", "Name" -> "Moss Green Light", 
    "Color" -> RGBColor[
     0.8585843696360693, 0.8460008494684588, 0.3367581890302842]], 
Association[
   "ID" -> "3820", "Name" -> "Straw Dark", 
    "Color" -> RGBColor[
     0.856134212355157, 0.66058859504026, 0.2625300640562843]], 
Association[
   "ID" -> "3821", "Name" -> "Straw", 
    "Color" -> RGBColor[
     0.9494886803867891, 0.7927045469267411, 0.35142338899408065`]], 
Association[
   "ID" -> "3822", "Name" -> "Straw Light", 
    "Color" -> RGBColor[
     0.9716727179232776, 0.857669270440827, 0.49598448666319866`]], 
Association[
   "ID" -> "3823", "Name" -> "Yellow Ultra Pale", 
    "Color" -> RGBColor[
     0.9930143104161977, 0.9610054351162522, 0.8193734641966169]], 
Association[
   "ID" -> "3824", "Name" -> "Apricot Light", 
    "Color" -> RGBColor[
     0.9777729009862689, 0.7288435884854765, 0.6464733306484843]], 
Association[
   "ID" -> "3825", "Name" -> "Pumpkin Pale", 
    "Color" -> RGBColor[
     0.967671082198956, 0.6542578580257488, 0.44554262194339556`]], 
Association[
   "ID" -> "3826", "Name" -> "Golden Brown", 
    "Color" -> RGBColor[
     0.6662366910465066, 0.39136478451170764`, 0.20062478447367968`]], 
Association[
   "ID" -> "3827", "Name" -> "Golden Brown Pale", 
    "Color" -> RGBColor[
     0.9214846413270568, 0.6664676501369908, 0.37203386111906656`]], 
Association[
   "ID" -> "3828", "Name" -> "Hazelnut Brown", 
    "Color" -> RGBColor[
     0.6860792341232743, 0.5043007454530384, 0.28681569299657317`]], 
Association[
   "ID" -> "3829", "Name" -> "Old Gold Very Dark", 
    "Color" -> RGBColor[
     0.6368316660440575, 0.4313307799137624, 0.1072915655788346]], 
Association[
   "ID" -> "3830", "Name" -> "Terra Cotta", 
    "Color" -> RGBColor[
     0.7112942330376895, 0.29141050785035405`, 0.23741516897904466`]], 
Association[
   "ID" -> "3831", "Name" -> "Raspberry Dark", 
    "Color" -> RGBColor[
     0.7337390488489406, 0.19577679641115628`, 0.30726014893774645`]], 
Association[
   "ID" -> "3832", "Name" -> "Raspberry Medium", 
    "Color" -> RGBColor[
     0.8485936968307755, 0.3388981551654873, 0.4179450437869707]], 
Association[
   "ID" -> "3833", "Name" -> "Raspberry Light", 
    "Color" -> RGBColor[
     0.8976951649379108, 0.4916911241337069, 0.5585213741036582]], 
Association[
   "ID" -> "3834", "Name" -> "Grape Dark", 
    "Color" -> RGBColor[
     0.4288393170577155, 0.19203052056569858`, 0.3402435594180433]], 
Association[
   "ID" -> "3835", "Name" -> "Grape Medium", 
    "Color" -> RGBColor[
     0.5448511786385268, 0.31658962014811487`, 0.45188178002253]], 
Association[
   "ID" -> "3836", "Name" -> "Grape Light", 
    "Color" -> RGBColor[
     0.7488595490183032, 0.5644633127335609, 0.6697473960066336]], 
Association[
   "ID" -> "3837", "Name" -> "Lavender Ultra Dark", 
    "Color" -> RGBColor[
     0.44546013145780455`, 0.20889037568884572`, 
      0.48646020794499845`]], 
Association[
   "ID" -> "3838", "Name" -> "Lavender Blue Dark", 
    "Color" -> RGBColor[
     0.3450630323831863, 0.42232226416783347`, 0.6191508154938878]], 
Association[
   "ID" -> "3839", "Name" -> "Lavender Blue Medium", 
    "Color" -> RGBColor[
     0.42331816158221064`, 0.502478571702947, 0.7076785315606194]], 
Association[
   "ID" -> "3840", "Name" -> "Lavender Blue Light", 
    "Color" -> RGBColor[
     0.7046559986370664, 0.7757393513939443, 0.900934175864012]], 
Association[
   "ID" -> "3841", "Name" -> "Baby Blue Pale", 
    "Color" -> RGBColor[
     0.7735106432148993, 0.8567276650932425, 0.8989957246731195]], 
Association[
   "ID" -> "3842", "Name" -> "Wedgewood Very Dark", 
    "Color" -> RGBColor[
     0.11817377283180983`, 0.33882634741058343`, 
      0.45785507175348095`]], 
Association[
   "ID" -> "3843", "Name" -> "Electric Blue", 
    "Color" -> RGBColor[
     0.08560348883312342, 0.6440812496857354, 0.8487351838911202]], 
Association[
   "ID" -> "3844", "Name" -> "Turquoise Bright Dark", 
    "Color" -> RGBColor[
     0.07107215579971485, 0.607903303582457, 0.7294953020904935]], 
Association[
   "ID" -> "3845", "Name" -> "Turquoise Bright Medium", 
    "Color" -> RGBColor[
     0.0779821408847203, 0.7148874775387299, 0.8138334320965774]], 
Association[
   "ID" -> "3846", "Name" -> "Turquoise Bright Light", 
    "Color" -> RGBColor[
     0.23994810878740802`, 0.8205218415832367, 0.8894344540411248]], 
Association[
   "ID" -> "3847", "Name" -> "Teal Green Dark", 
    "Color" -> RGBColor[
     0.11005102930841755`, 0.4043584696080543, 0.36240240536802526`]], 
Association[
   "ID" -> "3848", "Name" -> "Teal Green Medium", 
    "Color" -> RGBColor[
     0.1975096358992846, 0.5357809831840573, 0.49986953344356666`]], 
Association[
   "ID" -> "3849", "Name" -> "Teal Green Light", 
    "Color" -> RGBColor[
     0.2786876138784741, 0.6796648965915777, 0.6091987175741506]], 
Association[
   "ID" -> "3850", "Name" -> "Green Bright Dark", 
    "Color" -> RGBColor[
     0.1224341137040195, 0.5209578595909826, 0.36330308662468813`]], 
Association[
   "ID" -> "3851", "Name" -> "Green Bright Light", 
    "Color" -> RGBColor[
     0.27153890473675696`, 0.6739875312117515, 0.5325042955468807]], 
Association[
   "ID" -> "3852", "Name" -> "Straw Very Dark", 
    "Color" -> RGBColor[
     0.7982991633721606, 0.5763902207831328, 0.18804513283080593`]], 
Association[
   "ID" -> "3853", "Name" -> "Autumn Gold Dark", 
    "Color" -> RGBColor[
     0.9043227938788791, 0.5037675587621127, 0.19981710143613562`]], 
Association[
   "ID" -> "3854", "Name" -> "Autumn Gold Medium", 
    "Color" -> RGBColor[
     0.9490006048979499, 0.6460011477236944, 0.305863322904535]], 
Association[
   "ID" -> "3855", "Name" -> "Autumn Gold Light", 
    "Color" -> RGBColor[
     0.9843179430323782, 0.8421787740183171, 0.5725440909840042]], 
Association[
   "ID" -> "3856", "Name" -> "Mahogany Ultra Very Light", 
    "Color" -> RGBColor[
     0.9691345009224255, 0.772442986592358, 0.5862761931414655]], 
Association[
   "ID" -> "3857", "Name" -> "Rosewood Dark", 
    "Color" -> RGBColor[
     0.4009278138078557, 0.1692970298949602, 0.13166827475370052`]], 
Association[
   "ID" -> "3858", "Name" -> "Rosewood Medium", 
    "Color" -> RGBColor[
     0.5417465767572296, 0.2720995065649172, 0.2230456177294512]], 
Association[
   "ID" -> "3859", "Name" -> "Rosewood Light", 
    "Color" -> RGBColor[
     0.7479771116427, 0.5106014899787605, 0.42618415667449694`]], 
Association[
   "ID" -> "3860", "Name" -> "Cocoa", 
    "Color" -> RGBColor[
     0.4640069160119089, 0.3371592620710943, 0.3119679923265907]], 
Association[
   "ID" -> "3861", "Name" -> "Cocoa Light", 
    "Color" -> RGBColor[
     0.6224839555437627, 0.4901935112688523, 0.4546296055517639]], 
Association[
   "ID" -> "3862", "Name" -> "Mocha Beige Dark", 
    "Color" -> RGBColor[
     0.5015188017416615, 0.3707590955807725, 0.23310528968134017`]], 
Association[
   "ID" -> "3863", "Name" -> "Mocha Beige Medium", 
    "Color" -> RGBColor[
     0.5516728367465216, 0.4290930730672301, 0.30782720950893727`]], 
Association[
   "ID" -> "3864", "Name" -> "Mocha Beige Light", 
    "Color" -> RGBColor[
     0.7590898149295233, 0.6572057455396233, 0.5336075489422438]], 
Association[
   "ID" -> "3865", "Name" -> "Winter White", 
    "Color" -> RGBColor[
     0.9748389633024095, 0.9632110140944732, 0.933398137854859]], 
Association[
   "ID" -> "3866", "Name" -> "Mocha Brown Ultra Very Light", 
    "Color" -> RGBColor[
     0.9587281309005969, 0.9331855196500104, 0.8906413594336422]], 
Association[
   "ID" -> "400", "Name" -> "Mahogany Dark", 
    "Color" -> RGBColor[
     0.5331015270393021, 0.2554939429640173, 0.11097172069314122`]], 
Association[
   "ID" -> "402", "Name" -> "Mahogany Very Light", 
    "Color" -> RGBColor[
     0.9343954154228298, 0.6189020617378945, 0.39713739220232425`]], 
Association[
   "ID" -> "407", "Name" -> "Desert Sand Medium", 
    "Color" -> RGBColor[
     0.7468592842528641, 0.49647740963248654`, 0.3710494778850275]], 
Association[
   "ID" -> "413", "Name" -> "Pewter Gray Dark", 
    "Color" -> RGBColor[
     0.29642934466026133`, 0.30717535755544767`, 0.3100426339620084]], 
Association[
   "ID" -> "414", "Name" -> "Steel Gray Dark", 
    "Color" -> RGBColor[
     0.5320483881229705, 0.5397812145360446, 0.5510712617506119]], 
Association[
   "ID" -> "415", "Name" -> "Pearl Gray", 
    "Color" -> RGBColor[
     0.7605550405725001, 0.7739292995009449, 0.7849441233171393]], 
Association[
   "ID" -> "420", "Name" -> "Hazelnut Brown Dark", 
    "Color" -> RGBColor[
     0.5995218216995805, 0.4148535890686793, 0.22012354842598747`]], 
Association[
   "ID" -> "422", "Name" -> "Hazelnut Brown Light", 
    "Color" -> RGBColor[
     0.8336587055260073, 0.6820127467173266, 0.4700387276359637]], 
Association[
   "ID" -> "433", "Name" -> "Brown Medium", 
    "Color" -> RGBColor[
     0.4657337116655048, 0.2705573988451596, 0.13165329352178662`]], 
Association[
   "ID" -> "434", "Name" -> "Brown Light", 
    "Color" -> RGBColor[
     0.596494043846725, 0.36380453504124105`, 0.19941713053186422`]], 
   
Association[
   "ID" -> "435", "Name" -> "Brown Very Light", 
    "Color" -> RGBColor[
     0.6787926387257457, 0.4220321692131866, 0.23059707094104173`]], 
Association[
   "ID" -> "436", "Name" -> "Tan", 
    "Color" -> RGBColor[
     0.7895419408564289, 0.550785983383625, 0.3145073434101555]], 
Association[
   "ID" -> "437", "Name" -> "Tan Light", 
    "Color" -> RGBColor[
     0.8737127916035967, 0.6891253196892209, 0.46921520069515726`]], 
Association[
   "ID" -> "444", "Name" -> "Lemon Dark", 
    "Color" -> RGBColor[
     0.9808967504638415, 0.7964639674519793, 0.07182644080678009]], 
Association[
   "ID" -> "445", "Name" -> "Lemon Light", 
    "Color" -> RGBColor[
     0.9914501712835943, 0.9583427013325463, 0.5278727578271942]], 
Association[
   "ID" -> "451", "Name" -> "Shell Gray Dark", 
    "Color" -> RGBColor[
     0.5550650935893987, 0.47189745807429295`, 0.44253034384279566`]], 
Association[
   "ID" -> "452", "Name" -> "Shell Gray Medium", 
    "Color" -> RGBColor[
     0.7336245956817404, 0.657633672689296, 0.6311843450564324]], 
Association[
   "ID" -> "453", "Name" -> "Shell Gray Light", 
    "Color" -> RGBColor[
     0.8215187152366161, 0.764553473302996, 0.7204009953612014]], 
Association[
   "ID" -> "469", "Name" -> "Avocado Green", 
    "Color" -> RGBColor[
     0.4019574161015953, 0.4634612709240845, 0.22775660231311762`]], 
Association[
   "ID" -> "470", "Name" -> "Avocado Green Light", 
    "Color" -> RGBColor[
     0.5156912251804383, 0.5815278133171189, 0.265438845866148]], 
Association[
   "ID" -> "471", "Name" -> "Avocado Green Very Light", 
    "Color" -> RGBColor[
     0.6648154740546921, 0.7227389772912167, 0.3583151408006498]], 
Association[
   "ID" -> "472", "Name" -> "Avocado Green Ultra Light", 
    "Color" -> RGBColor[
     0.8474634410991791, 0.872019998894669, 0.5081433851943906]], 
Association[
   "ID" -> "498", "Name" -> "Red Dark", 
    "Color" -> RGBColor[
     0.5726318515101584, 0.07570752407075282, 0.17269906286613318`]], 
   
Association[
   "ID" -> "500", "Name" -> "Blue Green Very Dark", 
    "Color" -> RGBColor[
     0.08285711319998383, 0.2582288203369167, 0.1851162841795208]], 
Association[
   "ID" -> "501", "Name" -> "Blue Green Dark", 
    "Color" -> RGBColor[
     0.18412178746596192`, 0.36237228332858257`, 0.2790327458246108]], 
Association[
   "ID" -> "502", "Name" -> "Blue Green", 
    "Color" -> RGBColor[
     0.34099004865930643`, 0.5315965615824081, 0.4245954560481643]], 
Association[
   "ID" -> "503", "Name" -> "Blue Green Medium", 
    "Color" -> RGBColor[
     0.508944790559746, 0.6695106303065144, 0.5646988375623787]], 
Association[
   "ID" -> "504", "Name" -> "Blue Green Very Light", 
    "Color" -> RGBColor[
     0.7525024206920338, 0.8808694436611509, 0.808093073400512]], 
Association[
   "ID" -> "505", "Name" -> "Jade Green", 
    "Color" -> RGBColor[
     0.3620774852466884, 0.5941643588619776, 0.45585941558059145`]], 
Association[
   "ID" -> "517", "Name" -> "Wedgewood Dark", 
    "Color" -> RGBColor[
     0.15140829865184113`, 0.41960660533252714`, 0.5594123549307664]], 
Association[
   "ID" -> "518", "Name" -> "Wedgewood Light", 
    "Color" -> RGBColor[
     0.2894310020911426, 0.5541386553822536, 0.6500193933878258]], 
Association[
   "ID" -> "519", "Name" -> "Sky Blue", 
    "Color" -> RGBColor[
     0.5082027756611451, 0.7155508494640261, 0.817337436227614]], 
Association[
   "ID" -> "520", "Name" -> "Fern Green Dark", 
    "Color" -> RGBColor[
     0.3024027356563462, 0.34461044938763985`, 0.21801617463726522`]], 
Association[
   "ID" -> "522", "Name" -> "Fern Green", 
    "Color" -> RGBColor[
     0.5750190494747633, 0.6032404597933108, 0.452564589180916]], 
Association[
   "ID" -> "523", "Name" -> "Fern Green Light", 
    "Color" -> RGBColor[
     0.6890757189061284, 0.714914565223998, 0.561535496859907]], 
Association[
   "ID" -> "524", "Name" -> "Fern Green Very Light", 
    "Color" -> RGBColor[
     0.7242008158770754, 0.7313325802701952, 0.5963095089434822]], 
Association[
   "ID" -> "535", "Name" -> "Ash Gray Very Light", 
    "Color" -> RGBColor[
     0.3222549281988013, 0.32281966331838274`, 0.2849534043811798]], 
Association[
   "ID" -> "543", "Name" -> "Beige Brown Ultra Very Light", 
    "Color" -> RGBColor[
     0.9255890881195554, 0.8621366558753466, 0.7751733253277988]], 
Association[
   "ID" -> "550", "Name" -> "Violet Very Dark", 
    "Color" -> RGBColor[
     0.35294400138290927`, 0.11120396118574609`, 
      0.33479911595640266`]], 
Association[
   "ID" -> "552", "Name" -> "Violet  Medium", 
    "Color" -> RGBColor[
     0.5312684275436174, 0.2368676384828915, 0.5140646800902704]], 
Association[
   "ID" -> "553", "Name" -> "Violet", 
    "Color" -> RGBColor[
     0.6623466976416537, 0.3872991677740277, 0.62546692523721]], 
Association[
   "ID" -> "554", "Name" -> "Violet Light", 
    "Color" -> RGBColor[
     0.8305961450356066, 0.6308355875679523, 0.7813964293488713]], 
Association[
   "ID" -> "561", "Name" -> "Celadon Green Very Dark", 
    "Color" -> RGBColor[
     0.16725932971783122`, 0.40259539126976285`, 
      0.28220102179903306`]], 
Association[
   "ID" -> "562", "Name" -> "Jade Medium", 
    "Color" -> RGBColor[
     0.22225787121107177`, 0.5630634463559603, 0.365431886620244]], 
Association[
   "ID" -> "563", "Name" -> "Jade Light", 
    "Color" -> RGBColor[
     0.4919672582044644, 0.7719827847208153, 0.5968665776886237]], 
Association[
   "ID" -> "564", "Name" -> "Jade Very Light", 
    "Color" -> RGBColor[
     0.6450817054196767, 0.8422965872555883, 0.6764590488325659]], 
Association[
   "ID" -> "580", "Name" -> "Moss Green Dark", 
    "Color" -> RGBColor[
     0.4062072896126139, 0.46877202762943015`, 0.16030091482911718`]], 
Association[
   "ID" -> "581", "Name" -> "Moss Green", 
    "Color" -> RGBColor[
     0.5797507124782026, 0.5956778495663264, 0.2009711332747531]], 
Association[
   "ID" -> "597", "Name" -> "Turquoise", 
    "Color" -> RGBColor[
     0.31515249154763214`, 0.6424711320056877, 0.6840636768948521]], 
Association[
   "ID" -> "598", "Name" -> "Turquoise Light", 
    "Color" -> RGBColor[
     0.5621937263385194, 0.7817241624335145, 0.7851091474104591]], 
Association[
   "ID" -> "600", "Name" -> "Cranberry Very Dark", 
    "Color" -> RGBColor[
     0.7406199020515878, 0.14773786235239544`, 0.3167798736613551]], 
Association[
   "ID" -> "601", "Name" -> "Cranberry Dark", 
    "Color" -> RGBColor[
     0.8005327928515751, 0.16981583686370422`, 0.37239344751765313`]], 
Association[
   "ID" -> "602", "Name" -> "Cranberry Medium", 
    "Color" -> RGBColor[
     0.8569312985498225, 0.2664093306476233, 0.43473859913666]], 
Association[
   "ID" -> "603", "Name" -> "Cranberry", 
    "Color" -> RGBColor[
     0.9195948567478802, 0.4404688187803634, 0.5745333077578534]], 
Association[
   "ID" -> "604", "Name" -> "Cranberry Light", 
    "Color" -> RGBColor[
     0.9567509205450835, 0.6036980186296697, 0.7027698036726177]], 
Association[
   "ID" -> "605", "Name" -> "Cranberry Very Light", 
    "Color" -> RGBColor[
     0.9671647769826321, 0.6960035002611376, 0.7661297589027145]], 
Association[
   "ID" -> "606", "Name" -> "OrangeRed Bright", 
    "Color" -> RGBColor[
     0.9352504557480817, 0.12295697263701238`, 
      0.050001046532886104`]], 
Association[
   "ID" -> "608", "Name" -> "Burnt Orange Bright", 
    "Color" -> RGBColor[
     0.9701972130661892, 0.33019246991802553`, 0.15648161192277063`]], 
Association[
   "ID" -> "610", "Name" -> "Drab Brown Dark", 
    "Color" -> RGBColor[
     0.46426732553079236`, 0.3692272241041793, 0.24820652216816186`]], 
Association[
   "ID" -> "611", "Name" -> "Drab Brown", 
    "Color" -> RGBColor[
     0.5362391334850223, 0.42892446854435695`, 0.28702637543101317`]], 
Association[
   "ID" -> "612", "Name" -> "Drab Brown Light", 
    "Color" -> RGBColor[
     0.7198171481653217, 0.6077544782330644, 0.4200730954475551]], 
Association[
   "ID" -> "613", "Name" -> "Drab Brown Very Light", 
    "Color" -> RGBColor[
     0.8218456297123069, 0.7427256811356754, 0.5967026876605984]], 
Association[
   "ID" -> "632", "Name" -> "Desert Sand Ultra Very Dark", 
    "Color" -> RGBColor[
     0.5299529726870345, 0.30845489719384867`, 0.21828255688154713`]], 
Association[
   "ID" -> "640", "Name" -> "Beige Gray Very Dark", 
    "Color" -> RGBColor[
     0.5305319250842763, 0.47981805675667544`, 0.3719596597894328]], 
Association[
   "ID" -> "642", "Name" -> "Beige Gray Dark", 
    "Color" -> RGBColor[
     0.6471522845725832, 0.5936389599896519, 0.4574594435651697]], 
Association[
   "ID" -> "644", "Name" -> "Beige Gray Medium", 
    "Color" -> RGBColor[
     0.8095415166165243, 0.770605150060716, 0.6800330683381678]], 
Association[
   "ID" -> "645", "Name" -> "Beaver Gray Very Dark", 
    "Color" -> RGBColor[
     0.39834745444590464`, 0.3905543726365269, 0.3353115004838427]], 
Association[
   "ID" -> "646", "Name" -> "Beaver Gray Dark", 
    "Color" -> RGBColor[
     0.4857890053615363, 0.4622552599197143, 0.40249246990648124`]], 
Association[
   "ID" -> "647", "Name" -> "Beaver Gray Medium", 
    "Color" -> RGBColor[
     0.6559546746507183, 0.632187117135705, 0.569379529281022]], 
Association[
   "ID" -> "648", "Name" -> "Beaver Gray Light", 
    "Color" -> RGBColor[
     0.717333747680756, 0.7039355730682374, 0.6638162535946773]], 
Association[
   "ID" -> "666", "Name" -> "Bright Red", 
    "Color" -> RGBColor[
     0.8246751998191922, 0.12929132930291887`, 0.23469444897944583`]], 
Association[
   "ID" -> "676", "Name" -> "Old Gold Light", 
    "Color" -> RGBColor[
     0.930612479566278, 0.8045287395631466, 0.5269211857316434]], 
Association[
   "ID" -> "677", "Name" -> "Old Gold Very Light", 
    "Color" -> RGBColor[
     0.9635800891207438, 0.9034491206182875, 0.717815389542005]], 
Association[
   "ID" -> "680", "Name" -> "Old Gold Dark", 
    "Color" -> RGBColor[
     0.6560251185070796, 0.48853149685856434`, 0.17614515813592072`]], 
Association[
   "ID" -> "699", "Name" -> "Green", 
    "Color" -> RGBColor[
     0.02036175756750399, 0.4025058998132541, 0.16104103149652838`]], 
   
Association[
   "ID" -> "700", "Name" -> "Green Bright", 
    "Color" -> RGBColor[
     0.02819953169933785, 0.4529137846795368, 0.186998388440034]], 
Association[
   "ID" -> "701", "Name" -> "Green Light", 
    "Color" -> RGBColor[
     0.21617623567845437`, 0.5401567706353896, 0.2242993275811877]], 
Association[
   "ID" -> "702", "Name" -> "Kelly Green", 
    "Color" -> RGBColor[
     0.2565830955633643, 0.5829953110950894, 0.2085849181231176]], 
Association[
   "ID" -> "703", "Name" -> "Chartreuse", 
    "Color" -> RGBColor[
     0.5026742236550154, 0.733124969195656, 0.28506923755411984`]], 
Association[
   "ID" -> "704", "Name" -> "Chartreuse Bright", 
    "Color" -> RGBColor[
     0.5556861396177433, 0.7371263345175458, 0.22860427310684306`]], 
Association[
   "ID" -> "712", "Name" -> "Cream", 
    "Color" -> RGBColor[
     0.9804177322380045, 0.9609115049456094, 0.8952654604671979]], 
Association[
   "ID" -> "718", "Name" -> "Plum", 
    "Color" -> RGBColor[
     0.6756916328491114, 0.1386843883805104, 0.42368854780604154`]], 
Association[
   "ID" -> "720", "Name" -> "Orange Spice Dark", 
    "Color" -> RGBColor[
     0.8375071490798544, 0.3099744514371734, 0.1444053371356835]], 
Association[
   "ID" -> "721", "Name" -> "Orange Spice Medium", 
    "Color" -> RGBColor[
     0.9320793658071425, 0.42540166061959, 0.22579531515407192`]], 
Association[
   "ID" -> "722", "Name" -> "Orange Spice Light", 
    "Color" -> RGBColor[
     0.954876484831122, 0.554904009319848, 0.3473503850701454]], 
Association[
   "ID" -> "725", "Name" -> "Topaz Medium Light", 
    "Color" -> RGBColor[
     0.9883814473354442, 0.7860331313268891, 0.27167643201921565`]], 
Association[
   "ID" -> "726", "Name" -> "Topaz Light", 
    "Color" -> RGBColor[
     0.9915307289305472, 0.8540381164540094, 0.3206502654787208]], 
Association[
   "ID" -> "727", "Name" -> "Topaz Very Light", 
    "Color" -> RGBColor[
     0.994684176971356, 0.9119124445370759, 0.5468666144866838]], 
Association[
   "ID" -> "728", "Name" -> "Topaz", 
    "Color" -> RGBColor[
     0.9425688451093543, 0.7425136326791013, 0.3031692907577638]], 
Association[
   "ID" -> "729", "Name" -> "Old Gold Medium", 
    "Color" -> RGBColor[
     0.8158839397020768, 0.6201167930235547, 0.2625568051644853]], 
Association[
   "ID" -> "730", "Name" -> "Olive Green Very Dark", 
    "Color" -> RGBColor[
     0.4617834347314468, 0.4152418961670664, 0.14784809036956054`]], 
Association[
   "ID" -> "731", "Name" -> "Olive Green Dark", 
    "Color" -> RGBColor[
     0.47528947978382197`, 0.41944353376125654`, 0.1478823407835968]], 
Association[
   "ID" -> "732", "Name" -> "Olive Green", 
    "Color" -> RGBColor[
     0.48626109747725876`, 0.4258582155842689, 0.14917727769023928`]], 
Association[
   "ID" -> "733", "Name" -> "Olive Green Medium", 
    "Color" -> RGBColor[
     0.6709725940450051, 0.5884318464354401, 0.255932136478462]], 
Association[
   "ID" -> "734", "Name" -> "Olive Green Light", 
    "Color" -> RGBColor[
     0.7804891904790137, 0.701942982103403, 0.3500339547101922]], 
Association[
   "ID" -> "738", "Name" -> "Tan Very Light", 
    "Color" -> RGBColor[
     0.9198095162164286, 0.7903922538765047, 0.5942742016579532]], 
Association[
   "ID" -> "739", "Name" -> "Tan Ultra Very Light", 
    "Color" -> RGBColor[
     0.957991143618908, 0.8862477767789863, 0.7497850486271547]], 
Association[
   "ID" -> "740", "Name" -> "Tangerine", 
    "Color" -> RGBColor[
     0.9814218458460358, 0.4975134073342797, 0.09654070551859978]], 
Association[
   "ID" -> "741", "Name" -> "Tangerine Medium", 
    "Color" -> RGBColor[
     0.9738838104939628, 0.5831809655068216, 0.1281463942789693]], 
Association[
   "ID" -> "742", "Name" -> "Tangerine Light", 
    "Color" -> RGBColor[
     0.9744787167015652, 0.6760025776201437, 0.2439491792725765]], 
Association[
   "ID" -> "743", "Name" -> "Yellow Medium", 
    "Color" -> RGBColor[
     0.9917789398495077, 0.814718247697021, 0.3703480599242369]], 
Association[
   "ID" -> "744", "Name" -> "Yellow Pale", 
    "Color" -> RGBColor[
     0.995194936132643, 0.8706591363062351, 0.4837388224092324]], 
Association[
   "ID" -> "745", "Name" -> "Yellow Pale Light", 
    "Color" -> RGBColor[
     0.996423647566612, 0.9145935185961542, 0.6586387713287314]], 
Association[
   "ID" -> "746", "Name" -> "Off White", 
    "Color" -> RGBColor[
     0.9810540384994563, 0.9610107663891256, 0.8782380019301117]], 
Association[
   "ID" -> "747", "Name" -> "Peacock Blue Very Light", 
    "Color" -> RGBColor[
     0.8505599871493047, 0.9386110521626301, 0.9284993997660645]], 
Association[
   "ID" -> "754", "Name" -> "Peach Light", 
    "Color" -> RGBColor[
     0.9673853166908085, 0.8093635899029267, 0.7214191446057436]], 
Association[
   "ID" -> "758", "Name" -> "Terra Cotta Very Light", 
    "Color" -> RGBColor[
     0.9102410538114598, 0.6574173131097233, 0.5499726122009365]], 
Association[
   "ID" -> "760", "Name" -> "Salmon", 
    "Color" -> RGBColor[
     0.9469682566212976, 0.598351597569434, 0.5979384595627278]], 
Association[
   "ID" -> "761", "Name" -> "Salmon Light", 
    "Color" -> RGBColor[
     0.9804367701116692, 0.7528679098265892, 0.7522382981918818]], 
Association[
   "ID" -> "762", "Name" -> "Pearl Gray Very Light", 
    "Color" -> RGBColor[
     0.8722196961262458, 0.8730327788709518, 0.8667318368128087]], 
Association[
   "ID" -> "772", "Name" -> "Yellow Green Very Light", 
    "Color" -> RGBColor[
     0.8741402787271618, 0.9274621032998259, 0.7651241888506676]], 
Association[
   "ID" -> "775", "Name" -> "Baby Blue Very Light", 
    "Color" -> RGBColor[
     0.7822863182695103, 0.8480454468390786, 0.8817124205227806]], 
Association[
   "ID" -> "776", "Name" -> "Pink Medium", 
    "Color" -> RGBColor[
     0.9835674237239429, 0.6892307883562363, 0.7244033176431216]], 
Association[
   "ID" -> "777", "Name" -> "Raspberry Very Dark", 
    "Color" -> RGBColor[
     0.5580202735270599, 0.11073252197949754`, 0.23905229507771966`]], 
Association[
   "ID" -> "778", "Name" -> "Antique Mauve Very Light", 
    "Color" -> RGBColor[
     0.8510907871491165, 0.6602965488354428, 0.6598339972213729]], 
Association[
   "ID" -> "779", "Name" -> "Cocoa Dark", 
    "Color" -> RGBColor[
     0.3625751670187971, 0.256449131897345, 0.21589385259855326`]], 
Association[
   "ID" -> "780", "Name" -> "Topaz Ultra Very Dark", 
    "Color" -> RGBColor[
     0.5836748945438924, 0.3497535653719772, 0.1417278063398443]], 
Association[
   "ID" -> "781", "Name" -> "Topaz Very Dark", 
    "Color" -> RGBColor[
     0.6622203976324539, 0.44516614731377113`, 0.0995926987439436]], 
Association[
   "ID" -> "782", "Name" -> "Topaz Dark", 
    "Color" -> RGBColor[
     0.7200563906633386, 0.46665669121602515`, 0.14947523282916858`]], 
Association[
   "ID" -> "783", "Name" -> "Topaz Medium", 
    "Color" -> RGBColor[
     0.8383975766921499, 0.5866591719444509, 0.1767075832428442]], 
Association[
   "ID" -> "791", "Name" -> "Cornflower Blue Very Dark", 
    "Color" -> RGBColor[
     0.2140759036864644, 0.20039128994403554`, 0.4106114180478114]], 
Association[
   "ID" -> "792", "Name" -> "Cornflower Blue Dark", 
    "Color" -> RGBColor[
     0.26308542361152615`, 0.2948458980971135, 0.4978624344212981]], 
Association[
   "ID" -> "793", "Name" -> "Cornflower Blue Medium", 
    "Color" -> RGBColor[
     0.4463607722998932, 0.5018047886510771, 0.6630613538500523]], 
Association[
   "ID" -> "794", "Name" -> "Cornflower Blue Light", 
    "Color" -> RGBColor[
     0.6205606890033973, 0.6985819389558661, 0.8301811448459302]], 
Association[
   "ID" -> "796", "Name" -> "Royal Blue Dark", 
    "Color" -> RGBColor[
     0.08689143112786644, 0.2322750570480069, 0.4910749781172751]], 
Association[
   "ID" -> "797", "Name" -> "Royal Blue", 
    "Color" -> RGBColor[
     0.10429460086758542`, 0.278659640914243, 0.546068997373396]], 
Association[
   "ID" -> "798", "Name" -> "Delft Blue Dark", 
    "Color" -> RGBColor[
     0.21935039004690438`, 0.3899367614685238, 0.6219969630434589]], 
Association[
   "ID" -> "799", "Name" -> "Delft Blue Medium", 
    "Color" -> RGBColor[
     0.462743363965319, 0.5843791998808907, 0.7676144501370334]], 
Association[
   "ID" -> "800", "Name" -> "Delft Blue Pale", 
    "Color" -> RGBColor[
     0.7532101571547276, 0.8187166014975163, 0.9024808575994852]], 
Association[
   "ID" -> "801", "Name" -> "Coffee Brown Dark", 
    "Color" -> RGBColor[
     0.3659334957384003, 0.21784928649533417`, 0.10829875421146164`]], 
Association[
   "ID" -> "803", "Name" -> "Baby Blue Ultra Very Dark", 
    "Color" -> RGBColor[
     0.11927678171581013`, 0.2792100052036516, 0.4509562323056293]], 
Association[
   "ID" -> "806", "Name" -> "Peacock Blue Dark", 
    "Color" -> RGBColor[
     0.2507941511544288, 0.5423588077107939, 0.6386058164998208]], 
Association[
   "ID" -> "807", "Name" -> "Peacock Blue", 
    "Color" -> RGBColor[
     0.30193559967597794`, 0.5583938949935477, 0.6281445366895162]], 
Association[
   "ID" -> "809", "Name" -> "Delft Blue", 
    "Color" -> RGBColor[
     0.5472698107563052, 0.6494793443436372, 0.8061018845935537]], 
Association[
   "ID" -> "813", "Name" -> "Blue Light", 
    "Color" -> RGBColor[
     0.5887100308767572, 0.7354721256938341, 0.8449355972005739]], 
Association[
   "ID" -> "814", "Name" -> "Garnet Dark", 
    "Color" -> RGBColor[
     0.44140741208260204`, 0.05200471834337793, 
      0.15922734329166083`]], 
Association[
   "ID" -> "815", "Name" -> "Garnet Medium", 
    "Color" -> RGBColor[
     0.5154929289145951, 0.06547692613017747, 0.17533880776405025`]], 
   
Association[
   "ID" -> "816", "Name" -> "Garnet", 
    "Color" -> RGBColor[
     0.6053215815357704, 0.08993827974546459, 0.20549237287585112`]], 
   
Association[
   "ID" -> "817", "Name" -> "Coral Red Very Dark", 
    "Color" -> RGBColor[
     0.7186527820729398, 0.06381689523957025, 0.14790987140678813`]], 
   
Association[
   "ID" -> "818", "Name" -> "Baby Pink", 
    "Color" -> RGBColor[
     0.9490836109079522, 0.8140640443481297, 0.7968925925140337]], 
Association[
   "ID" -> "819", "Name" -> "Baby Pink Light", 
    "Color" -> RGBColor[
     0.9601764729465698, 0.8896450653795536, 0.8578776073740002]], 
Association[
   "ID" -> "820", "Name" -> "Royal Blue Very Dark", 
    "Color" -> RGBColor[
     0.07656520469584728, 0.17441301654855212`, 0.4276596519455126]], 
   
Association[
   "ID" -> "822", "Name" -> "Beige Gray Light", 
    "Color" -> RGBColor[
     0.9110896936965337, 0.8730641631273365, 0.7857571352666564]], 
Association[
   "ID" -> "823", "Name" -> "Navy Blue Dark", 
    "Color" -> RGBColor[
     0.08214903126411971, 0.1429684124779497, 0.31682227913695604`]], 
   
Association[
   "ID" -> "824", "Name" -> "Blue Very Dark", 
    "Color" -> RGBColor[
     0.14696407800878517`, 0.3531809961308566, 0.52636970839604]], 
Association[
   "ID" -> "825", "Name" -> "Blue Dark", 
    "Color" -> RGBColor[
     0.21831084712976456`, 0.44691136206296994`, 0.6367152385909396]], 
Association[
   "ID" -> "826", "Name" -> "Blue Medium", 
    "Color" -> RGBColor[
     0.3253560559347839, 0.526432469054388, 0.6950935069816048]], 
Association[
   "ID" -> "827", "Name" -> "Blue Very Light", 
    "Color" -> RGBColor[
     0.6791684295151312, 0.8040296132013649, 0.8842375046822172]], 
Association[
   "ID" -> "828", "Name" -> "Sky Blue Very Light", 
    "Color" -> RGBColor[
     0.7917878168109178, 0.8803078886996971, 0.9006073909339283]], 
Association[
   "ID" -> "829", "Name" -> "Golden Olive Very Dark", 
    "Color" -> RGBColor[
     0.4287799300950446, 0.3379369263078167, 0.16462270605334894`]], 
Association[
   "ID" -> "830", "Name" -> "Golden Olive Dark", 
    "Color" -> RGBColor[
     0.4673401985420441, 0.3697843599861751, 0.19492342704602678`]], 
Association[
   "ID" -> "831", "Name" -> "Golden Olive Medium", 
    "Color" -> RGBColor[
     0.5744795389160962, 0.46375871197716256`, 0.22118487917169885`]], 
Association[
   "ID" -> "832", "Name" -> "Golden Olive", 
    "Color" -> RGBColor[
     0.6718191232706728, 0.5265580309842695, 0.23783114227382357`]], 
Association[
   "ID" -> "833", "Name" -> "Golden Olive Light", 
    "Color" -> RGBColor[
     0.7391258109902437, 0.6126482601670029, 0.3246034867443651]], 
Association[
   "ID" -> "834", "Name" -> "Golden Olive Very Light", 
    "Color" -> RGBColor[
     0.8702541574242512, 0.755343769152858, 0.41061936878481003`]], 
Association[
   "ID" -> "838", "Name" -> "Beige Brown Very Dark", 
    "Color" -> RGBColor[
     0.3058897893548358, 0.22987599714743706`, 0.15827574451773113`]], 
Association[
   "ID" -> "839", "Name" -> "Beige Brown Dark", 
    "Color" -> RGBColor[
     0.3651956069088579, 0.2819970399103625, 0.21206110120918414`]], 
Association[
   "ID" -> "840", "Name" -> "Beige Brown Medium", 
    "Color" -> RGBColor[
     0.5204849223207961, 0.4061140505140622, 0.28002664738210153`]], 
Association[
   "ID" -> "841", "Name" -> "Beige Brown Light", 
    "Color" -> RGBColor[
     0.696132039860413, 0.5774184478788942, 0.4560451248845454]], 
Association[
   "ID" -> "842", "Name" -> "Beige Brown Very Light", 
    "Color" -> RGBColor[
     0.8062894981891239, 0.7196210008181854, 0.6106836919173326]], 
Association[
   "ID" -> "844", "Name" -> "Beaver Gray Ultra Dark", 
    "Color" -> RGBColor[
     0.29087340930845346`, 0.2884099368713769, 0.2595345869541818]], 
Association[
   "ID" -> "869", "Name" -> "Hazelnut Brown Very Dark", 
    "Color" -> RGBColor[
     0.46211067906384057`, 0.3088919549905862, 0.17245676308258637`]], 
Association[
   "ID" -> "890", "Name" -> "Pistachio Green Ultra V Dark", 
    "Color" -> RGBColor[
     0.12388133096457739`, 0.25550941637367725`, 0.1529588609094799]], 
Association[
   "ID" -> "891", "Name" -> "Carnation Dark", 
    "Color" -> RGBColor[
     0.9310676514021651, 0.25898594670702835`, 0.34356690767307535`]], 
Association[
   "ID" -> "892", "Name" -> "Carnation Medium", 
    "Color" -> RGBColor[
     0.9625858934332057, 0.3711973303362184, 0.4317775030596164]], 
Association[
   "ID" -> "893", "Name" -> "Carnation Light", 
    "Color" -> RGBColor[
     0.9522744423292177, 0.4352623034160382, 0.514324814179298]], 
Association[
   "ID" -> "894", "Name" -> "Carnation Very Light", 
    "Color" -> RGBColor[
     0.9765770861552596, 0.6081649905930426, 0.659846537123208]], 
Association[
   "ID" -> "895", "Name" -> "Hunter Green Very Dark", 
    "Color" -> RGBColor[
     0.1471112709507911, 0.297208325959476, 0.11315762693348483`]], 
Association[
   "ID" -> "898", "Name" -> "Coffee Brown Very Dark", 
    "Color" -> RGBColor[
     0.3172534843790511, 0.18994671740329477`, 0.10362256552486315`]], 
Association[
   "ID" -> "899", "Name" -> "Rose Medium", 
    "Color" -> RGBColor[
     0.8963399048187329, 0.43119640760652705`, 0.49969838563786106`]], 
Association[
   "ID" -> "900", "Name" -> "Burnt Orange Dark", 
    "Color" -> RGBColor[
     0.8023630964391386, 0.2701125431616528, 0.10149351964672226`]], 
Association[
   "ID" -> "902", "Name" -> "Garnet Very Dark", 
    "Color" -> RGBColor[
     0.40032622872697543`, 0.11481729259559824`, 
      0.17627610360208695`]], 
Association[
   "ID" -> "904", "Name" -> "Parrot Green Very Dark", 
    "Color" -> RGBColor[
     0.27352877866482783`, 0.42996567505597183`, 
      0.16631473503084093`]], 
Association[
   "ID" -> "905", "Name" -> "Parrot Green Dark", 
    "Color" -> RGBColor[
     0.32295548015694375`, 0.49273922437553774`, 
      0.17314645386228283`]], 
Association[
   "ID" -> "906", "Name" -> "Parrot Green Medium", 
    "Color" -> RGBColor[
     0.4818214344908159, 0.6602044456958689, 0.2090966986687844]], 
Association[
   "ID" -> "907", "Name" -> "Parrot Green Light", 
    "Color" -> RGBColor[
     0.7101190680620565, 0.8218882452991948, 0.2838624556482102]], 
Association[
   "ID" -> "909", "Name" -> "Emerald Green Very Dark", 
    "Color" -> RGBColor[
     0.05156469550567221, 0.4394217804255121, 0.2751776144927966]], 
Association[
   "ID" -> "910", "Name" -> "Emerald Green Dark", 
    "Color" -> RGBColor[
     0.05878063587289678, 0.5180691492975273, 0.3210899689773937]], 
Association[
   "ID" -> "911", "Name" -> "Emerald Green Medium", 
    "Color" -> RGBColor[
     0.07144287655355394, 0.5857493134022895, 0.3651375869052557]], 
Association[
   "ID" -> "912", "Name" -> "Emerald Green Light", 
    "Color" -> RGBColor[
     0.13795180367387305`, 0.6587949254201364, 0.41839239734591177`]], 
Association[
   "ID" -> "913", "Name" -> "Nile Green Medium", 
    "Color" -> RGBColor[
     0.3939956717021993, 0.7332764827058492, 0.4830710345309837]], 
Association[
   "ID" -> "915", "Name" -> "Plum Dark", 
    "Color" -> RGBColor[
     0.5877942585171263, 0.062156295128567, 0.3302569943030399]], 
Association[
   "ID" -> "917", "Name" -> "Plum Medium", 
    "Color" -> RGBColor[
     0.6336679658778781, 0.09904004886703113, 0.3803640394420259]], 
Association[
   "ID" -> "918", "Name" -> "RedCopper Dark", 
    "Color" -> RGBColor[
     0.5141368039681389, 0.20204522024661264`, 0.12190274636417003`]], 
Association[
   "ID" -> "919", "Name" -> "RedCopper", 
    "Color" -> RGBColor[
     0.6025612815413561, 0.22726952179242224`, 0.10788540066717947`]], 
Association[
   "ID" -> "920", "Name" -> "Copper Medium", 
    "Color" -> RGBColor[
     0.6707306857783504, 0.2869826735670765, 0.15421416047076175`]], 
Association[
   "ID" -> "921", "Name" -> "Copper", 
    "Color" -> RGBColor[
     0.7564288481068369, 0.34828858800167994`, 0.17230176272962577`]], 
Association[
   "ID" -> "922", "Name" -> "Copper Light", 
    "Color" -> RGBColor[
     0.87222026068232, 0.44124131657138854`, 0.20859585869556446`]], 
Association[
   "ID" -> "924", "Name" -> "Gray Green Very Dark", 
    "Color" -> RGBColor[
     0.25200482042439076`, 0.33906332456715965`, 
      0.33539312481678984`]], 
Association[
   "ID" -> "926", "Name" -> "Gray Green Medium", 
    "Color" -> RGBColor[
     0.4624161241007877, 0.5541589236974307, 0.5236508124783799]], 
Association[
   "ID" -> "927", "Name" -> "Gray Green Light", 
    "Color" -> RGBColor[
     0.6628698050725861, 0.7291216182953446, 0.7191049923732492]], 
Association[
   "ID" -> "928", "Name" -> "Gray Green Very Light", 
    "Color" -> RGBColor[
     0.7824675732589623, 0.8216614398248203, 0.811256121506908]], 
Association[
   "ID" -> "930", "Name" -> "Antique Blue Dark", 
    "Color" -> RGBColor[
     0.26776053402936983`, 0.35968474125653244`, 
      0.43069358888599574`]], 
Association[
   "ID" -> "931", "Name" -> "Antique Blue Medium", 
    "Color" -> RGBColor[
     0.40043808811932724`, 0.5002571061277642, 0.57310623407155]], 
Association[
   "ID" -> "932", "Name" -> "Antique Blue Light", 
    "Color" -> RGBColor[
     0.6516731746408633, 0.71978181406555, 0.7822537305702391]], 
Association[
   "ID" -> "934", "Name" -> "Avocado Green Black", 
    "Color" -> RGBColor[
     0.1968109448722424, 0.21337126052377264`, 0.12273852574897837`]], 
Association[
   "ID" -> "935", "Name" -> "Avocado Green Dark", 
    "Color" -> RGBColor[
     0.24677681563404275`, 0.2738370949696314, 0.15914968070768448`]], 
Association[
   "ID" -> "936", "Name" -> "Avocado Green Very Dark", 
    "Color" -> RGBColor[
     0.29800188061426247`, 0.31956423861120536`, 
      0.16959130318548965`]], 
Association[
   "ID" -> "937", "Name" -> "Avocado Green Medium", 
    "Color" -> RGBColor[
     0.3178477106728974, 0.37094594069572323`, 0.18973919812047155`]], 
Association[
   "ID" -> "938", "Name" -> "Coffee Brown Ultra Dark", 
    "Color" -> RGBColor[
     0.24321215293629495`, 0.1452333645191973, 0.07937855075607941]], 
   
Association[
   "ID" -> "939", "Name" -> "Navy Blue Very Dark", 
    "Color" -> RGBColor[
     0.05288339905083633, 0.08523796503223259, 0.19141132351575002`]], 
Association[
   "ID" -> "943", "Name" -> "Green Bright Medium", 
    "Color" -> RGBColor[
     0.09446907757269411, 0.578191935722376, 0.4703684579237457]], 
Association[
   "ID" -> "945", "Name" -> "Tawny", 
    "Color" -> RGBColor[
     0.9759431480024688, 0.8164340799426547, 0.675908297637174]], 
Association[
   "ID" -> "946", "Name" -> "Burnt Orange Medium", 
    "Color" -> RGBColor[
     0.9095655304433925, 0.31952202734574464`, 0.09753636032725976]], 
   
Association[
   "ID" -> "947", "Name" -> "Burnt Orange", 
    "Color" -> RGBColor[
     0.9748671083429544, 0.3925700024322364, 0.18877356923035257`]], 
Association[
   "ID" -> "948", "Name" -> "Peach Very Light", 
    "Color" -> RGBColor[
     0.9832498799397491, 0.9031963784082194, 0.8322310288239848]], 
Association[
   "ID" -> "950", "Name" -> "Desert Sand Light", 
    "Color" -> RGBColor[
     0.8822669975827417, 0.723874264422768, 0.6172111484754939]], 
Association[
   "ID" -> "951", "Name" -> "Tawny Light", 
    "Color" -> RGBColor[
     0.9791895708277041, 0.8748640481410488, 0.7572408019460162]], 
Association[
   "ID" -> "954", "Name" -> "Nile Green", 
    "Color" -> RGBColor[
     0.5037799875016239, 0.7809080361734223, 0.5606834965933497]], 
Association[
   "ID" -> "955", "Name" -> "Nile Green Light", 
    "Color" -> RGBColor[
     0.6727846636999371, 0.8694388272065021, 0.6901446843093829]], 
Association[
   "ID" -> "956", "Name" -> "Geranium", 
    "Color" -> RGBColor[
     0.9485417235330312, 0.41032718938169466`, 0.4886197989079804]], 
Association[
   "ID" -> "957", "Name" -> "Geranium Pale", 
    "Color" -> RGBColor[
     0.9550401840479096, 0.612931424371981, 0.6670788485700054]], 
Association[
   "ID" -> "958", "Name" -> "Sea Green Dark", 
    "Color" -> RGBColor[
     0.13691214584256461`, 0.6619470644567265, 0.5644951696111912]], 
Association[
   "ID" -> "959", "Name" -> "Sea Green Medium", 
    "Color" -> RGBColor[
     0.3721859127967788, 0.7604585943617783, 0.6828590379770536]], 
Association[
   "ID" -> "961", "Name" -> "Dusty Rose Dark", 
    "Color" -> RGBColor[
     0.8419173552722732, 0.38905899960766965`, 0.4519969556702143]], 
Association[
   "ID" -> "962", "Name" -> "Dusty Rose Medium", 
    "Color" -> RGBColor[
     0.9058453103637443, 0.5101257531924106, 0.5541490103698222]], 
Association[
   "ID" -> "963", "Name" -> "Dusty Rose Ultra Very Light", 
    "Color" -> RGBColor[
     0.9665679588413205, 0.7896235872581211, 0.7952694000714347]], 
Association[
   "ID" -> "964", "Name" -> "Sea Green Light", 
    "Color" -> RGBColor[
     0.6565002924695886, 0.8800905068310511, 0.836195201886045]], 
Association[
   "ID" -> "966", "Name" -> "Jade Ultra Very Light", 
    "Color" -> RGBColor[
     0.609837016219526, 0.7935316719665647, 0.6015981465148834]], 
Association[
   "ID" -> "967", "Name" -> "Apricot Very Light", 
    "Color" -> RGBColor[
     0.9784371634871387, 0.815207475761406, 0.7469282218590512]], 
Association[
   "ID" -> "970", "Name" -> "Pumpkin Light", 
    "Color" -> RGBColor[
     0.9414045874607291, 0.45862967374205865`, 0.15029648435184023`]], 
Association[
   "ID" -> "971", "Name" -> "Pumpkin", 
    "Color" -> RGBColor[
     0.9591882115989682, 0.43609094212329963`, 0.07213180481307262]], 
   
Association[
   "ID" -> "972", "Name" -> "Canary Deep", 
    "Color" -> RGBColor[
     0.9861294356046497, 0.6788411758158629, 0.09876246597645669]], 
Association[
   "ID" -> "973", "Name" -> "Canary Bright", 
    "Color" -> RGBColor[
     0.9930787792065809, 0.84775278071623, 0.09743483443802803]], 
Association[
   "ID" -> "975", "Name" -> "Golden Brown Dark", 
    "Color" -> RGBColor[
     0.5392419285373081, 0.27676481074712733`, 0.10520486681289606`]], 
Association[
   "ID" -> "976", "Name" -> "Golden Brown Medium", 
    "Color" -> RGBColor[
     0.7736733796423194, 0.4578188329793631, 0.21242405300468484`]], 
Association[
   "ID" -> "977", "Name" -> "Golden Brown Light", 
    "Color" -> RGBColor[
     0.8747780521543987, 0.5653325377277328, 0.2647067411082186]], 
Association[
   "ID" -> "986", "Name" -> "Forest Green Very Dark", 
    "Color" -> RGBColor[
     0.21330762053862615`, 0.3166876968245197, 0.19009850221947003`]], 
Association[
   "ID" -> "987", "Name" -> "Forest Green Dark", 
    "Color" -> RGBColor[
     0.28410186956616407`, 0.4032607168369514, 0.23190991598765354`]], 
Association[
   "ID" -> "988", "Name" -> "Forest Green Medium", 
    "Color" -> RGBColor[
     0.4150279824923495, 0.5347002198605527, 0.29882696501300055`]], 
Association[
   "ID" -> "989", "Name" -> "Forest Green ", 
    "Color" -> RGBColor[
     0.45919006052155564`, 0.5973978064697053, 0.3392212584757868]], 
Association[
   "ID" -> "991", "Name" -> "Aquamarine Dark", 
    "Color" -> RGBColor[
     0.13179160984165295`, 0.4265262034088002, 0.3594075667949113]], 
Association[
   "ID" -> "992", "Name" -> "Aquamarine Light", 
    "Color" -> RGBColor[
     0.33156693929906883`, 0.6866271962146636, 0.6017367353781788]], 
Association[
   "ID" -> "993", "Name" -> "Aquamarine Very Light", 
    "Color" -> RGBColor[
     0.4635994893923418, 0.7751337286584343, 0.6730158140746141]], 
Association[
   "ID" -> "995", "Name" -> "Electric Blue Dark", 
    "Color" -> RGBColor[
     0.05456924408536755, 0.49806401065301076`, 0.7292852743720564]], 
   
Association[
   "ID" -> "996", "Name" -> "Electric Blue Medium", 
    "Color" -> RGBColor[
     0.1855125546994145, 0.7098251792191849, 0.9143283078188846]], 
Association[
   "ID" -> "B5200", "Name" -> "SnowWhite", 
    "Color" -> RGBColor[0.9882352941176471, 0.9882352941176471, 1.]], 
   
Association[
   "ID" -> "Ecru", "Name" -> "Ecru/off-white", 
    "Color" -> RGBColor[
     0.9411764705882353, 0.9176470588235294, 0.8549019607843137]], 
Association[
   "ID" -> "White", "Name" -> "White", "Color" -> GrayLevel[1]]}, 
TypeSystem`Vector[
TypeSystem`Struct[{"ID", "Name", "Color"}, {
TypeSystem`Atom[String], 
TypeSystem`Atom[String], TypeSystem`AnyType}], TypeSystem`AnyLength], 
  
Association["Origin" -> HoldComplete[
Query[
SortBy[Slot["ID"]& ]][
Dataset`DatasetHandle[272747779825498]]], "ID" -> 272752074792794]]

A small restructuring of this data makes it more useful for color matching:

Short
&#10005

Short[colorLookupData = Normal[DMCColorDS[All, #Color -> # &]]]

Nearest can now automatically apply a perceptual measure of color distance to helps us match colors:

nearestColor[col_]
&#10005

nearestColor[col_] := First[Nearest[colorLookupData, col]]

For example, if we want Pink, then our best thread to purchase is called “Melon Medium,” with a catalog ID of 3706:

nearestColor[Pink]
&#10005

nearestColor[Pink]

We can now use this function on each of the colors in the reduced color palette, and at the same time associate a symbol with each color. The list of symbols is entirely arbitrary, but must be at least as long as the number of colors that we will use:

colorMatches
&#10005

colorMatches[src_] := 
  MapIndexed[(#1 -> 
      Append[nearestColor[#1], 
       "Key" -> 
        Extract[{"\[FilledSquare]", "\[FilledCircle]", 
          "\[FilledUpTriangle]", "\[FilledDiamond]", 
          "\[FilledDownTriangle]", "\[FivePointedStar]", 
          "\[ClubSuit]", "\[HeartSuit]", "\[MathematicaIcon]", 
          "\[WolframLanguageLogoCircle]", "\[EmptyCircle]", ".", 
          "\[Times]", "+", "\[CloverLeaf]", "\[Gamma]", 
          "\[Checkmark]", "\[Pi]", "\[Sharp]", "\[WatchIcon]", 
          "\[WhiteRook]", "\[Natural]", "~", "\[Psi]", " "}, #2]]) &, 
   colorList[src]];
Short[replacements = colorMatches[spikey]]

A little styling information, and we can display this generated key:

keyTable
&#10005

keyTable[data_] := 
  TextGrid[Prepend[{Style[#Key, 28], 
       Framed["    ", Background -> #Color], #Name, #ID} & /@ 
     Last /@ data, 
    Style[#, Darker@Red, 28] & /@ {"Key", "Color", "Name", 
      "Floss ID"}], Frame -> All, BaseStyle -> 20];
keyTable[replacements]

And we need to apply that key to the image data to make a grid of the matching key symbols:

mesh10
&#10005

mesh10 = {Thickness[2], True, True, True, True, True, True, True, 
   True, True};

sewingPattern
&#10005

sewingPattern[simplifiedImage_, replacementRules_] := 
  Grid[Map[((RGBColor @@ #) /. replacementRules)["Key"] &, 
    ImageData[simplifiedImage], {2}], Spacings -> 0, 
   ItemSize -> {1, 1},
   Dividers -> {{mesh10}, {mesh10}}];
sewingPattern[spikey, replacements]

And that’s our Spikey pattern, ready to stitch!

The final steps are to put all the code together, add a user interface and deploy it to the Wolfram Cloud, so that everyone in the world can benefit:

CloudDeploy
&#10005

CloudDeploy[
 (*User Interface*)
 FormPage[
  {"Image" -> "Image", "Size" -> {30, 50, 70, 100}, 
   "Colors" -> {10, 15, 20, 25}},
  
  (*Pre-processing*)
  Block[{simplified, replacements},
    simplified = simplifyImage[#Image, #Size, #Colors];
    replacements = colorMatches[simplified];
    
    (*Output*)Column[Rasterize /@ {
       ImageResize[simplified, 400, Resampling -> "Nearest"],
       keyTable[replacements],
       sewingPattern[simplified, replacements]}]
    ] &,
  
  (*Text contents*)
  
  AppearanceRules -> <|"Title" -> "Cross-stitch Pattern Generator", 
    "Description" -> 
     "Upload an image to convert it to a simplified cross-stitch \
pattern in DMC thread colors. <BR>Choose larger sizes and more colors \
for a more life-like result."
    |>
  ],
 (*Deployment information*)
 "sewingpatterns", 
 Permissions -> "Public"]

Cross-stitch pattern generator

And as a small variation on the theme, here is an application for cross-stitching words in a variety of fonts:

CloudDeploy
&#10005

CloudDeploy[
 (*User Interface*)
 FormPage[
  {"Text" -> "String", "Size" -> {50, 100, 150}, 
   "Colors" -> {2, 3, 4}, 
   "Font" -> CloudEvaluate[$FontFamilies] -> "Times"},
  
  (*Pre-processing*)
  Block[{simplified, replacements},
    simplified = 
     simplifyImage[
      Rasterize[
       Style[#Text, FontFamily -> #Font, 
        FontSize -> #Size]], #Size, #Colors];
    replacements = 
     MapIndexed[(#1 -> 
         Append[nearestColor[#1], 
          "Key" -> 
           Extract[{"\[FilledSquare]", "\[EmptyCircle]", ".", 
             " "}, #2]]) &, colorList[simplified]];
    
    (*Output*)Column[Rasterize /@ {
       ImageResize[simplified, 400, Resampling -> "Nearest"],
       keyTable[replacements],
       sewingPattern[simplified, replacements]}]
    ] &,
  
  (*Text contents*)
  
  AppearanceRules -> <|"Title" -> "Cross-stitch Pattern Generator", 
    "Description" -> 
     "Convert text to a simplified cross-stitch pattern in DMC thread \
colors. <BR>Choose larger sizes and more colors for a more accurate \
result."
    |>
  ],
 (*Deployment information*)
 "textsewingpatterns", 
 Permissions -> "Public"]

Text pattern generator

The Proof Is in the Pattern

This pattern generator worked well in a Wolfram Notebook, but the real test was to bring this pattern to life with needle and thread. If Jay’s handiwork is any indication, I think we can say that the cross-stitch generator is a success:

Spikey cross-stitch in progress

Completed Spikey cross-stitch

And best of all, you can test it out for yourself—both my cross-stitch pattern generator and text pattern generator are available on the Wolfram Cloud for anyone to use! Simply upload your own image for a custom cross-stitch pattern. You can also build off of the code in this post to create a database of your favorite thread brand. And with the holiday season here, the generator is a great help in creating your unique gifts for lucky loved ones, or can be your break from the computer screen as you cozy up by the fire. Happy holidays, and happy stitching!

The Wolfram Cloud combines a state-of-the-art notebook interface with the world’s most productive programming language.

Sign up for free

Comments

Join the discussion

!Please enter your comment (at least 5 characters).

!Please enter your name.

!Please enter a valid email address.

4 comments

  1. A few additions that could be made to the text version for even more customisation options:
    (a) control over the text slanting — add `”Slant” -> {“Plain”, “Italic”}` to the form description and `FontSlant -> #Slant` in the Style
    (b) control over how condensed to make the text — add `”Tracking” -> {“Narrow”, “Condensed”, “SemiCondensed”, “Plain”, “Extended”, “Wide”} -> “Plain”` to the form description and `FontTracking -> #Tracking` in the Style
    (c) control over the caps type — add `”CapsType” -> {“Normal”, “SmallCaps”, “AllCaps”}` to the form description and `FontVariations -> {“CapsType” -> #CapsType}` in the Style

    Reply
  2. Love this idea and the results look great!

    Could you give us download links for the resulting patterns that we make, or higher res images? For images with size 100 the resolution of the pattern is very low, and it is difficult to tell the shapes apart.

    Reply