Skip to content

Simple web application built with Flask that allows users to upload an image and extract its dominant color palette using the ColorThief library.

Notifications You must be signed in to change notification settings

dtaird/paletegenerator-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple web application built with Flask that allows users to upload an image and extract its dominant color palette using the ColorThief library.

Features

  • Upload .jpg, .jpeg, or .png image files.
  • Automatically detects the most dominant colors in the image.
  • Displays the extracted color palette and the uploaded image.
  • Clean and responsive UI with Bootstrap.
  • Filenames are sanitized using secure_filename.

How It Works

  1. The user uploads an image through the form on the main page.
  2. The image is saved to the static/ folder.
  3. ColorThief extracts the dominant colors from the image.
  4. The resulting color palette and the uploaded image are displayed on the page.

Usage

example

About

Simple web application built with Flask that allows users to upload an image and extract its dominant color palette using the ColorThief library.

Topics

Resources

Stars

Watchers

Forks