Skip to content

Vue 3 project for hsl color calculation

License

Twintails/color-calc-vue

Repository files navigation

HSL Color Calc on Vue + Vite + Typescript

What is this

Color Calc Vue is a web app for visualizing and calculating color differences in HSL (Hue, Saturation, Lightness) space. It provides interactive tools to compare colors, see their HSL components, and understand how color adjustments affect design systems.

Features

  • Visualize HSL color differences and adjustments
  • Compare two colors and see their hue, saturation, and lightness differences
  • Interactive UI for color selection and comparison
  • Built with Vue 3 and Vite for fast development
  • Includes Sass functions for color calculations (see below)
  • Reference implementation for design system research

Origin & References

Comments

Original functionality was in Sass CSS preprocessor code c. Sept. 18, 2017 and published to Twintails' CodePen Portfolio.

This was for a bit of design research for a style-guide which turned into a Design System project.

The Sass file included is for reference of origin, and:

  • Sass is not used in this codebase
  • contains functions and variables for color calculations in HSL

Running the app

  1. Install dependencies:

    npm install
  2. Start the development server:

    npm run dev
  3. Open http://localhost:5173 in your browser.


Building the app

To build for production:

npm run build

The output will be in the dist/ folder.


License

This project license is under the terms described in LICENSE.md.

About

Vue 3 project for hsl color calculation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published