Skip to content

Find DMC thread color based on hex color. Useful for cross-stitching

Notifications You must be signed in to change notification settings

bmanturner/hex-dmc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hex-dmc

Finds closest DMC thread color based on hex color. Useful for cross-stitching. Would potentially serve well as a web app.

hex_dmc.py

Prompts for hex, loops through DMC color chart and returns the closest color in DMC color format. Uses a weighted Euclidean distance function to determine closeness.

jpg_dmc.py

In progress: Uses Python Imaging Library to create a RGB frequency map of the image. Uses hex_dmc.py to create a DMC frequency map as well. Currently slow. Optimizations in progress.

About

Find DMC thread color based on hex color. Useful for cross-stitching

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages