Skip to content

A tool to find the closest standard 256 / 8bit color from a given hex or rgb value.

License

Notifications You must be signed in to change notification settings

bradleyburgess/256-color-matcher

Repository files navigation

256 Color Matcher

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.

Features

  • Pure HTML, CSS and JS — no frameworks
  • Hex and RGB modes (updates color texts and inputs)
  • 18kb bundle size
  • 3 npm dependencies
  • Bundled with webpack
  • Tests for all non-vendor library modules (jest)

Building / testing / running

  • Build: yarn && yarn build
  • Test: yarn && yarn test (or test:watch)
  • Serve: yarn && yarn build && npx serve dist/

About

A tool to find the closest standard 256 / 8bit color from a given hex or rgb value.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published