This Java application allows users to work with colors in various ways. It provides functionalities to convert colors to grayscale, generate color shades, and compare contrast ratios between different colors.
- Convert to Grayscale: Takes a given hex color and creates a grayscale version.
- Generate Color Shades: Creates lighter and darker versions of a given color.
- Compare Contrast Ratios: Compares contrast ratios between two lists of hex color strings according to W3C standards.
Compile and run the Main.java
file. The program will prompt you to enter a primary hex color. It will then perform various operations and save the contrast ratios in a CSV file.
Please enter the Primary hex color (e.g., #FF5733
).
A CSV file containing the contrast ratios.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.