Display some colors in a table sorted by hue and lightness
npm install --save react-color-table
import * as React from 'react'
import { ColorTable } from 'react-color-table'
export const Example = () =>
<ColorTable
colors={['#123123', 'rgba(123,123,123,12)']}
averageDuplicates
inferBlanks
/>
name | type | default |
---|---|---|
colors | string[] | [] |
rowHeight? | string/number | 64 |
columnWidth? | string/number | '100%' |
averageDuplicates | boolean | false |
inferBlanks | boolean | false |
MIT © Hermanya