npm install @pqt/foreground
# OR
yarn add @pqt/foreground
import { foreground } from "@pqt/foreground";
foreground("fff"); // => returns "dark"
foreground("000"); // => returns "light"
foreground("005cc5"); // => returns "light"
MIT
npm install @pqt/foreground
# OR
yarn add @pqt/foreground
import { foreground } from "@pqt/foreground";
foreground("fff"); // => returns "dark"
foreground("000"); // => returns "light"
foreground("005cc5"); // => returns "light"
MIT