A react color picker consisting of a set of sliders for adjusting R, G, B, hue, saturation, lightness and alpha.
npm install react-slider-color-picker> A react color picker consisting of a set of sliders for adjusting hue, saturation, lightness and alpha.
 
Here is a live demo of the app: https://olofsandell.com/react-slider-color-picker
``bash`
npm install --save react-slider-color-picker
`tsx
import React, { useState } from 'react'
import { HueSlider, SaturationSlider, LightnessSlider, AlphaSlider } from 'react-slider-color-picker'
interface Color {
h: number
s: number
l: number
a: number
}
const App = () => {
const [color, setColor] = useState
const handleChangeColor = (newColor: Color) => {
setColor(newColor)
}
return (
<>
<>
)
}
``
MIT © Olof Sandell