Skip to content

About

A modern Color Detector web app built with HTML, CSS, and JavaScript. Detect colors using your camera or upload an image. Get HEX, RGB, and HSL color codes with a clean, responsive interface.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Color Detector — mfaysal.com

A real-time color detection tool that identifies the color at the center of your camera view. Shows color name in Bengali, HEX code, and RGB values instantly.


✨ Features

  • ✅ Live camera feed with center crosshair
  • ✅ Instant color name detection in Bengali
  • ✅ HEX & RGB color codes displayed
  • ✅ Smooth color preview display
  • ✅ Clean professional design
  • ✅ Works on mobile & desktop
  • ✅ Pure JavaScript — no libraries needed

📁 Files

color-detector/ ├── index.html → Main page ├── style.css → Styling & design ├── script.js → Detection logic └── README.md → Documentation plaintext


🚀 How to Use

  1. Save all files in one folder
  2. Open index.html in browser
  3. Click "Open camera"
  4. Allow camera permission
  5. Point camera at any color — result updates instantly

📋 Requirements

  • Modern browser (Chrome, Firefox, Edge, Safari)
  • Camera permission enabled
  • HTTPS or localhost for online use

🎨 Customization

  • Change colors in style.css → :root section
  • Add more color names in script.js → getColorName() function
  • Adjust crosshair size in style.css → .crosshair

📄 License

© 2026 mfaysal.com — All Rights Reserved

About

A modern Color Detector web app built with HTML, CSS, and JavaScript. Detect colors using your camera or upload an image. Get HEX, RGB, and HSL color codes with a clean, responsive interface.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages