1.0.2 • Published 4 years ago
sort-colors-js v1.0.2
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'
])