Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

pietroppeter/color_distance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

update: this repo is now obsolete since this functionality was long ago merged in treeform/chroma. I will archive this. also note that color proximity test has been indeed removed

This repo implements the ciede2000 color distance function. It is based on [Sharma et al 2004], which also provides test vectors.

One idea would be to use this to find what could be a valid color for a language in github/linguist, given the color proximity test.

Color proximity test in linguist is based on color-proximity ruby gem which is based on color_difference gem implementing color distance. Note that the color distance implemented in ruby scales the distance in the [0, 1] range by dividing the CIEDE2000 distance by 100 and clipping values to 100. Also note that color proximity test in linguist might actually be removed in the future.

About

CIEDE2000 color distance in Nim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages