Hex to DMC converter
Enter a hex code or RGB values, pick a color, or click a spot on your own photo. You'll get the closest DMC floss colors. Use any hex or RGB value, from a logo, a website or a digital painting.
Leave the text box empty to use the picked color.
Pick a color from your photo
Open a photo, then click any spot on it to see the closest DMC colors. Your photo stays on your device. Only the color you click is sent to find matches.
Click the photo to pick a color. Each click averages a small patch, so a single stray pixel won't throw it off.
This browser can't open that file. Try a JPG or PNG.
Screen colors are approximate. DMC doesn't publish official hex or RGB values for its floss, so the floss colors here are estimates, and every screen shows color a little differently. Check a match against a real DMC color card or skein before you buy.
How the matching works
The converter turns your color and each of the 489 DMC colors into CIELAB, a color model built around how people see color, and compares them with the CIEDE2000 formula. The result is a ΔE (delta E) number for each floss: the smaller it is, the closer the two colors look. As a rough rule, under 2 is hard to tell apart, 2 to 5 is close, 5 to 10 is similar but noticeable, and above 10 is a clearly different color. The scores compare screen colors, not real thread.
The same matching picks the floss colors when Cross Stitch Photo turns a photo into a pattern. To browse every DMC color instead, use the DMC color chart.
Common hex codes in DMC
The closest DMC floss for some common web colors, found with the same matching as the converter. Pure screen colors like lime #00FF00 and blue #0000FF are more vivid than any floss, so even their nearest match looks clearly different. Click a hex code to see its five closest DMC colors.
| Color | Closest DMC | ΔE |
|---|---|---|
| Black #000000 | DMC 310 Black | 0.0 |
| White #FFFFFF | DMC B5200 Snow White | 0.0 |
| Gray #808080 | DMC 169 Pewter Light | 1.5 |
| Silver #C0C0C0 | DMC 03 Tin Medium | 2.6 |
| Beige #F5F5DC | DMC 3823 Yellow Ultra Pale | 1.9 |
| Red #FF0000 | DMC 606 Orange Red Bright | 3.0 |
| Brown #A52A2A | DMC 498 Red Dark | 3.8 |
| Pink #FFC0CB | DMC 605 Cranberry Very Light | 0.7 |
| Orange #FFA500 | DMC 741 Tangerine Medium | 3.0 |
| Gold #FFD700 | DMC 444 Lemon Dark | 0.3 |
| Yellow #FFFF00 | DMC 307 Lemon | 6.2 |
| Lime #00FF00 | DMC 704 Chartreuse Bright | 14.6 |
| Teal #008080 | DMC 3847 Teal Green Dark | 4.3 |
| Blue #0000FF | DMC 32 Blueberry Dark | 14.8 |
| Navy #000080 | DMC 32 Blueberry Dark | 11.7 |
| Purple #800080 | DMC 34 Fuschia Dark | 9.7 |
Turn a whole photo into DMC colors
Upload a photo and see it as a cross stitch pattern, with a floss key that lists the symbol, DMC number, name, stitch count and skeins for every color.
Make a pattern from a photo