This project is an interactive color palette generator that uses a web-based form to accept text prompts for creating primary color palettes. It's designed to generate color palettes that align with specific themes, moods, or instructions provided by the user. Once generated, the colors are displayed on the website, allowing for quick and easy copying of HEX values.
Here's a look at the app in action:
- Interactive Web Form: Input your color palette prompt through a simple web form interface.
- Generate Color Palettes: Create sets of colors that match your specified themes, moods, or instructions.
- Browser Display: View the generated color palette directly on the website.
- Copy HEX Values: Conveniently copy the HEX values of the generated colors for use in your design projects.
- Enter a Prompt: Navigate to the website and type your color palette prompt into the provided form.
- Generate Palette: Submit the form to generate a color palette based on your prompt.
- View and Copy Colors: The generated colors will be displayed on the website. You can easily copy the HEX values of these colors by clicking or tapping on them.
To set up this project for development or local use, follow these steps:
-
Clone the repository and navigate to the directory:
git clone [your-repo-url]
cd [your-repo-directory]
-
Create a
.env
file in the root directory of the project:- OPENAI_API_KEY='YOUR KEY GOES HERE'
-
Replace 'YOUR KEY GOES HERE' with your actual OpenAI API key.
-
Navigate to the root directory in your terminal
- Run
source env/bin/activate
- Run
-
Start flask server
flask run
(--debug optional)
Contributions to this project are welcome!
This project is licensed under the MIT License - see the LICENSE file for details.
This project is based off a tutorial offered by Colt Steele on Udemy called Mastering OpenAI Python APIs: Unleash ChatGPT and GPT4 https://www.udemy.com/course/mastering-openai/