Hue Rotate is a React application that allows users to select an initial color and a desired color, then calculates the CSS hue-rotate
filter value required to transition between these colors.
- Select initial and desired colors using HEX, RGB, or HSL formats.
- View the calculated hue rotation angle.
- Copy the hue rotation value to the clipboard with a single click.
- Responsive design for use on various devices and screen sizes.
To use the application, follow these steps:
- Input the initial color in any CSS-supported format (HEX, RGB, HSL).
- Input the desired color in any CSS-supported format.
- View the calculated
hue-rotate
value displayed. - Click the copy icon next to the hue rotation value to copy it to the clipboard.
- Use this value in your CSS to apply the
hue-rotate
filter to an element.
This project is licensed under the MIT License - see the LICENSE.md file for details.
- React documentation
- Tailwind CSS for styling
- chroma.js for color calculations