Skip to content

Red? Nope. Mahogany Flush. Ever wondered what color really means? Discover precise color names!

Notifications You must be signed in to change notification settings

CodeRustyPro/whatcolor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Color Detection Tool

Overview

Welcome to the Color Detection App! This project allows you to identify colors from both live camera feeds and uploaded images. Simply snap a photo, click on any part of the image or video, and find out the exact color name, including those you might not be familiar with.

Demo

ezgif-5-7eedad3254

Features

  • Live Camera Feed: Capture real-time colors using your webcam.
  • Image Upload: Upload any image to analyze and detect colors.
  • Color Identification: Get the closest matching color name from a comprehensive color database.
  • User-Friendly Interface: Easy-to-use design with a clear display of color names and visual representation.

How It Works

  1. Color Conversion: The app converts colors from hexadecimal format to RGB, then to XYZ, and finally to the LAB color space to accurately determine color differences.
  2. Color Comparison: It calculates the difference between the color you clicked on and a set of known colors using the CIE76 and CIEDE2000 color difference formulas.
  3. Color Naming: Matches the detected color to the nearest name from a predefined list of colors or a fallback set of standard colors.

Installation

  1. Clone this repository:
    git clone https://github.com/CodeRustyPro/whatcolor.git

About

Red? Nope. Mahogany Flush. Ever wondered what color really means? Discover precise color names!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published