AI Color Palette Generator - OpenAI

Color Palette Generator is an innovative web application designed to inspire and facilitate the creative process for designers, artists, and anyone in need of color ideas. By simply entering a theme, such as 'autumn' or 'ocean', users are provided with a beautifully crafted color palette that reflects the essence of their input. It's perfect for finding the right colors for web designs, artworks, or any project requiring a harmonious color scheme.

Live Demo

Check out the live demo here: AI Color Palette Generator

Features

  • Theme-Based Color Palettes: Generate color palettes based on the theme you provide.
  • Copy to Clipboard: Easily copy the generated color codes to your clipboard with a single click.
  • Responsive Design: Enjoy a seamless experience on devices of all sizes.

Technologies Used

This project is built using a combination of powerful technologies and tools:

  • HTML5 & CSS3: For structuring and styling the web application with a modern look.
  • Bootstrap 4.3.1: Utilized for responsive design elements and styles.
  • JavaScript: Powers the dynamic aspects of the application, including fetching and displaying the color palettes.
  • Flask: A lightweight WSGI web application framework in Python, used for handling backend requests and serving the web application.
  • OpenAI API: Integrates with OpenAI's powerful AI models to generate color palettes based on thematic inputs.

Getting Started

Prerequisites

  • Python 3.x
  • Flask
  • Gunicorn (for UNIX-based systems)
  • An active OpenAI API key

Installation

  1. Clone the repository to your local machine:
    git clone https://github.com/gauravsingla05/ai-color-generator.git
    cd color-palette-generator
  2. pip install -r req.txt
  3. Create .env file and paste openAI key
  4. Flask Run