Skip to content

GaspardC/sort-colors-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

sort-colors-js

Sort an array of hex colors by HUE

Install

npm install sort-colors-js

Usage

import sortColorsByHue from 'sort-colors-js'

const arrayColorsSorted = sortColorsByHue([
            '#e6194b',
            '#3cb44b',
            '#ffe119',
            '#4363d8',
            '#f58231',
            '#911eb4'
            ])

colors sorted

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published