contrast-ratio-calc

Contrast Ratio Calc

A tool to calculate and compare the contrast ratio of colors.

Contrast ratio calculator

A tool to calculate and compare the contrast ratio of colors.

A simple tool, implemented with Svelte and Boostrap, for calculate and compare the contrast ratio between different colors.

Demo

Development and building

This application was created using SvelteKit, all commands for build and run locally can be found on the official docs, but the most used ones are:

  • yarn to install all dependencies.
  • yarn run dev to run the application locally.
  • yarn run format to format the source code using Prettier.
  • yarn run lint to identify errors on the source code using ESLint.
  • yarn run build to build the application.

License

Contrast Ratio Calc is free software; you can redistribute it and/or modify it under the terms of the Mozilla Public License v2.0. You should have received a copy of the MPL 2.0 along with this library, otherwise you can obtain one at http://mozilla.org/MPL/2.0/.

Top categories

Loading Svelte Themes