Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Color Sort

A simple lib that sorts colors by perception.

Usage

var colorSort = require('color-sort');
var unsortedColorArray = ['#f00', '#0f0', '#f0f', '#a00', '#a0a', '#00a'];

colorSort(unsortedColorArray) // ['#f00', '#a00', '#0f0', '#00a', '#f0f', '#a0a']

About

A simple lib for sorting colors by perception.

Resources

Releases

No releases published

Packages

No packages published