npm i spencer-color
import {colors, combos} from 'spencer-color'
console.log(colors.red)
// '#cc7066'
console.log(combos.dupont)
// [ "#6accb2", "#705E5C", "#cc8a66", "#cc7066", "#7f9c6c", "#6699cc" ]
yeah, instead of these default html colors:
client-side:
<script src="https://unpkg.com/spencer-color"></script>
<script>
let red= spencerColor.colors.red
// '#cc7066'
</script>
See also:
- spencer-css
- somehow - svg drawing
MIT