Colours {
Like colors, but Canadian
🎨 A React component to visualize and easily access a colour palette
Install
npm install react-colours
Basic Usage
Import the React component:
; const colours = '#277bc4' '#68c89e' '#ec89aa' '#a66ace' '#44b1da'; Component { return <Colours colours=colours /> ; }
Props
colours
This is a list of colours that you want to display on the screen. This can be in hex
, rgb
, rgba
, hsl
, and hsla
.
License
2017 © Zack Harley
🍴 Fork away!