colour-proximity

Get a value of the proximity of two hex colours.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
colour-proximity
110.0.29 years ago9 years agoMinified + gzip package size for colour-proximity in KB

Readme

colour-proximity
Get a value of the proximity of two hex colours.

Example

colour-proximity.proximity("#ffffff","#fffffe")	// 1
colour-proximity.proximity("#ffffff","#000000")	// 441.6729559300637

Install

Use node with npm:
npm install colour-proximity