react-ntc
React Hooks module for the Name That Color project.
Installation
To install react-ntc with npm
:
npm install react-ntc
To install react-ntc with yarn
:
yarn add react-ntc
Types
;
Hooks
useColors useColorObjects useColorTuples useLookupColorshexValues: string useLookupColorObjectshexValues: string useLookupColorTupleshexValues: string useNameThatColorhexValue: string
Functions
formatHexhex: string formatHexValueshexValues: string
Demo
View demo here: https://alehechka.github.io/react-ntc/
License
This project is licensed under the terms of the MIT license.