This is a simple web app written in pure HTML, CSS and JS for finding the closest matching standard 256 color from a given input color. This is useful if you're styling e.g. xterm
and need to find the closest color in the palette.
- Pure HTML, CSS and JS — no frameworks
-
Hex
andRGB
modes (updates color texts and inputs) -
18kb
bundle size - 3
npm
dependencies - Bundled with
webpack
- Tests for all non-vendor library modules (
jest
)
- Build:
yarn && yarn build
- Test:
yarn && yarn test
(ortest:watch
) - Serve:
yarn && yarn build && npx serve dist/