Skip to content

AhsonJalali/colorpicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🎨 Chic Color Picker

Next.js TypeScript Tailwind CSS Shadcn/ui

The modern, aesthetic way to extract colors from the web.

FeaturesGetting StartedTech Stack


✨ Overview

Gone are the days of clunky browser extensions and low-res screenshots. Chic Color Picker brings the browser inside your color tool. Navigate to any URL, get a high-fidelity snapshot, and use our pixel-perfect loupe to extract the exact hex code you need. All wrapped in a beautiful, minimal interface powered by shadcn/ui.

🚀 Features

  • 🌍 Internal Browser Engine: Seamlessly load and render any website URL directly within the app using Puppeteer.
  • 🔍 Pixel-Perfect Loupe: Precision magnifier tool that lets you inspect pixels and grab colors with accuracy.
  • 💾 Smart History: Automatically tracks your picked colors so you never lose that perfect shade.
  • 📋 One-Click Copy: Instant clipboard integration with beautiful toast notifications.
  • 💎 Modern UI: A clean, distraction-free interface built with Tailwind CSS v4 and polished animations.

🛠 Tech Stack

⚡ Getting Started

Prerequisites

  • Node.js 18+
  • pnpm (recommended)

Installation

  1. Clone the repository

    git clone https://github.com/AhsonJalali/colorpicker.git
    cd colorpicker
  2. Install dependencies

    cd app
    pnpm install
  3. Install Browser Binary (Required for the internal browser)

    npx puppeteer browsers install chrome
  4. Run the development server

    pnpm dev
  5. Open http://localhost:3000 and start picking!

📸 Usage

  1. Enter URL: Type github.com (or any site) into the chic search bar.
  2. Explore: Wait for the snapshot to render.
  3. Pick: Hover over the design elements you love. The loupe appears automatically.
  4. Click: Click to save the color to your history and copy the HEX code.

🤝 Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

Distributed under the MIT License.


Built with ❤️ by Amir H. Jalali

About

pick any color from a website

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors