A library to convert colors to names and names to colors
import { colorToName } from "colorame";
console.log(cocolorToName('#d68f49')lorToName('#d68f49')); // peru
npm install colorame
yarn add colorame
pnpm add colorame
bun add colorame
Documentation is available here.
Generated using TypeDoc