chingu-voyages / v49-tier2-team-18

Add-project-description-here | Voyage-49 | https://chingu.io/ | Twitter: https://twitter.com/ChinguCollabs
1 stars 1 forks source link

PalettePro

Overview

PalettePro is an AI-powered tool that can provide recommendations for any color selected by users. An intuitive color picker allows users to select a color from a color wheel, or enter hex, rgb, or hsl values manually. A form guides users to provide additional details, utilizing dropdown menues with pre-populated options as much as possible in order to ensure quality prompt construction. This structure also helps to provide recommendations that are as consistent as possible. Recommendations are displayed as a full text response from the AI model, accompanied by color swatches for the originally selected color as well as any recommended colors.

image

PalettePro External Link

PalettePro

Features

Color Picker

PalettePro uses a customizable color picker. The user may choose a color from the color wheel and modify the shade, hue, saturation, and light of the chosen color. The user may input rgb, hex, or hsl values to generate a color. The chosen color is used in the prompt for the AI response.

image

Color Details Form

After selecting a starting color, the user enters additional details in a simple form which will help to construct the prompt sent to the Groq AI API. This ensures that the color recommendations provided by PalettePro are as relevant to the user's use case as possible. The user must enter a context using the first field on the form; this form field asks the user what they're using the selected color for, and they select options from a dropdown menu ("other" is available as an option if none of the preset options apply). Additional form fields ask users what color codes they would like their recommendation in, how many recommended colors they would like, whether they need a specific harmonious color scheme (with dropdown options to select from), whether they are trying to evoke a specific mood or emotion, and a final text field to provide any additional information that might be helpful.

image

Groq AI

The full text of the AI-generated color recommendation is displayed below the Color Details form. Additionally, color swatches below the recommendation display the original selected color as well as all recommended colors. Color swatches are labeled in the color code format selected by the user (defaulting to hex codes if the user did not specify).

PalettePro uses Artificial Intelligence (AI) to recommend the perfect color combinations for your use cases. It is powered by Groq's Language Processing Unit (LPU) Inference Engine, which offers industry-leading compute speed, quality, and energy efficiency. The specific Large Language Model (LLM) utilized by PalettePro is Meta's llama3-8b-8192.

You can learn more about Groq HERE.

You can learn more about Meta's llama3-8b LLM HERE.

Dependencies

Color Reference

Color Hex
background Color #f8f8f8 #f8f8fc
primary Color #0d109b #0d109b
secondary Color #0f0fff #0f0fff
accent Color #6365e8 #6365e8

Our Team

Acknowledgements

Running This Project Locally

To install and run the project locally, follow these steps:

Prerequisites

📙 Node.js and npm (Node Package Manager) should be installed on your machine.

1. Clone or Download the Repository:

Open your terminal or command prompt. Use the git clone command to clone the project repository:

 https://github.com/chingu-voyages/v49-tier2-team-18

2. Navigate to the Project Directory:

Use the cd command to move into the project directory:

  cd project-directory-name

3. Run the following command to install project dependencies using npm:

Run the following command to install project dependencies using npm:

  npm install

4. Start the Development Server

After the dependencies are installed, start the development server:

  npm run dev

5. View the Project:

Once the development server is running, open your web browser and visit:

  http://localhost:3000