https://github.com/utk09-ncl/color-palette-generator
Color Conjure - Color Palette Generator
https://github.com/utk09-ncl/color-palette-generator
ghw gssoc-ext gssoc-extd hacktoberfest hactoberfest javascript mlh reactjs typescript
Last synced: about 1 month ago
JSON representation
Color Conjure - Color Palette Generator
- Host: GitHub
- URL: https://github.com/utk09-ncl/color-palette-generator
- Owner: utk09-NCL
- License: mit
- Created: 2024-10-05T09:42:30.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-27T19:27:25.000Z (11 months ago)
- Last Synced: 2024-11-27T19:46:59.328Z (11 months ago)
- Topics: ghw, gssoc-ext, gssoc-extd, hacktoberfest, hactoberfest, javascript, mlh, reactjs, typescript
- Language: TypeScript
- Homepage: https://color-conjure.netlify.app
- Size: 447 KB
- Stars: 26
- Watchers: 1
- Forks: 15
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Color Conjure π¨
[](https://app.netlify.com/sites/color-conjure/deploys)
Color Conjure is an open-source color palette generator that helps designers and developers create accessible and consistent color schemes for their projects. Generate shades, check color contrasts, and export colors in various formats with ease.
## π Demo
Check out the live application: [Color Conjure on Netlify](https://color-conjure.netlify.app/)
Please note that this is a work in progress, and some features may not be fully functional.
βοΈPLEASE NOTE βοΈ - We use [Seline](https://seline.so) for tracking user interactions and improving the application. _Seline is a simple, lightweight, cookieless, private website analytics tool._
## β¨ Features
- **Color Shade Generation:** Generate a range of shades from a base color.
- **Contrast Checker:** Ensure text is readable against background colors by checking contrast ratios.
- **Export Options:** Export generated colors in multiple formats like HEX, HSL, CSS variables, Tailwind CSS configurations, etc.
- **Accessibility Compliance:** Verify color combinations against [WCAG](https://www.w3.org/WAI/standards-guidelines/wcag/) guidelines [AA](https://www.w3.org/WAI/WCAG2AA-Conformance) and [AAA](https://www.w3.org/WAI/WCAG2AAA-Conformance) standards.
- **Interactive Color Manipulation:** Adjust colors using HEX, RGB, and HSL inputs with previews.## π§° Tools & Libraries
- **[react](https://react.dev/)**
- **[chroma-js](https://gka.github.io/chroma.js/)**
- **[@tanstack/react-table](https://tanstack.com/table/latest)**
- **[react-hot-toast](https://react-hot-toast.com/)**
- **[react-router-dom](https://reactrouter.com/en/main)**
- **[@headlessui/react](https://headlessui.com/)**
- **[clsx](https://github.com/lukeed/clsx)**
- **[vite](https://vitejs.dev/)**
- **[tailwindcss](https://tailwindcss.com/)**
- **[eslint](https://eslint.org/)**
- **[prettier](https://prettier.io/)**
- **[husky](https://typicode.github.io/husky)**
- **[commitlint](https://commitlint.js.org/)**
- **[lint-staged](https://github.com/lint-staged/lint-staged)**
- **[vitest](https://vitest.dev/)**
- **[jsdom](https://github.com/jsdom/jsdom)**
- **[@testing-library/jest-dom](https://testing-library.com/docs/ecosystem-jest-dom/)**
- **[@testing-library/react](https://testing-library.com/docs/react-testing-library/intro/)**
- **[@vitest/coverage-istanbul](https://vitest.dev/guide/coverage.html#coverage-providers)**
- **[typescript](https://www.typescriptlang.org/)**## π οΈ Installation
### Prerequisites
- Node.js (v20 or higher)
- npm (v9 or higher)### Steps
1. **Clone the Repository**
```bash
git clone https://github.com//color-palette-generator.gitcd color-palette-generator
```2. **Fresh Install Dependencies**
```bash
npm run bootstrap-dev
```3. **Start the Development Server**
```bash
npm run dev
```4. **Open the Application**
The application should open automatically in your default browser. If not, visit [http://localhost:5173](http://localhost:5173) to view the application.
5. **Build for Production**
To build and view the application for production, run:
```bash
npm run build && npm run preview
```The optimized files will be in the `dist` directory.
## π Usage
1. **Generate Color Shades**
- Enter a base color in HEX, RGB, or HSL format.
- Click on the "Generate Shades" button to create a range of 11 colors, from 50, 100, 200, ..., 900, 950 shades.2. **Check Color Contrast**
- Click on the "Check Colour Contrast" button to verify the contrast ratio between the text and background colors.
- The contrast ratio is displayed along with the WCAG compliance level (AA or AAA), and the columns are sortable.3. **Export Colors**
- Click on the "Export Colors" button to view the export options.
- Choose from range of formats like HEX, HSL, CSS variables, and Tailwind CSS configurations.
- Click on the "Copy Code" button to copy the color values to the clipboard.
- If you add more than one color set/section, then you can use "Export All Colors".## π License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## π€ Contributing (Code and Design)
Contributions are welcome! Please read the [CONTRIBUTING.md](CONTRIBUTING.md)
file for guidelines on how to contribute to this project. Please note that by participating in this project, you agree to abide by the terms of the [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md).You can even contribute by creating designs for the project. Check the [DESIGN.md](./design/DESIGN.md) file for more information.
## π Issue Reporting
If you find any bugs or issues, please open an issue on the GitHub repository and provide as much information as possible.
- [ISSUE TRACKER](https://github.com/utk09-NCL/color-palette-generator/issues)
- [NEW ISSUE](https://github.com/utk09-NCL/color-palette-generator/issues/new/choose)
- [ISSUE TEMPLATE](.github/ISSUE_TEMPLATE/BUG_REPORT.md)## π Feature Requests
If you have any feature requests or suggestions, please open an issue on the GitHub repository and provide as much information as possible, we would love to hear your ideas! Follow the [FEATURE REQUEST TEMPLATE](.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md) template.
## β€οΈ Code of Conduct
Please read the [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) file for details on our code of conduct.
TL;DR: Be Nice, Be Respectful, Be Inclusive.## π Show Your Support
If you like this project, give it a βοΈ on GitHub and share it with your friends!
## π§ Contact Me?
If you have any queries or want to discuss this project or just tech, find my contact details on my [Personal Website]: utk09[dot]com
## Thanks in advance for all your contributions! π
## π₯ Our Contributors
A big shoutout to all the contributors who have helped (and are helping) in building this project.
[](https://github.com/utk09-NCL/color-palette-generator/graphs/contributors)
### Author
- [utk09-NCL](https://github.com/utk09-NCL)