Color Cop is a versatile color picker tool designed for web designers and programmers to easily identify and capture colors in various hexadecimal formats.
Key Features:
Instant hex code detection with an intuitive eyedropper tool that copies the selected color directly to the clipboard.
Support for multiple color formats, including RGB, HSL, and HSV, ensuring flexibility for diverse design needs.
Enhanced functionality with a screen measurement feature: press the Control key while using the eyedropper to measure on-screen elements in pixels.
Audience & Benefit:
Ideal for web designers, developers, and anyone working with digital colors, Color Cop streamlines the process of color selection and integration into design workflows. Its user-friendly interface and advanced features save time and improve accuracy, making it an essential tool for professionals.
Color Cop can be installed via winget, ensuring seamless setup on Windows systems.
README
ColorCop
A Windows-based color picker utility built with Microsoft Foundation Classes (MFC).
Features
System tray color picker for Windows
Real-time color sampling from anywhere on screen
Multiple color format support (RGB, HEX, HSV)
Requirements
Windows 10/11 (x86/x64)
Visual Studio 2022 with the following components:
MSVC v143 compiler toolset
Windows 10/11 SDK
MFC for latest v143 build tools (x86 & x64)
Building
Quick Build
build.bat
Manual Build
# Using MSBuild directly
MSBuild.exe ColorCop.sln /p:Configuration=Release /p:Platform=Win32
# Or open in Visual Studio 2022
start ColorCop.sln
Build Configurations
Debug: Development build with debugging symbols
Release: Optimized production build
Installation
Build the project using the steps above
Run ColorCop.exe from the Release/ directory
The application will appear in your system tray
Development
Project Structure
ColorCop.cpp/h - Main application class
ColorCopDlg.cpp/h - Main dialog implementation
SystemTray.cpp/h - System tray functionality
colorspace.cpp/h - Color conversion utilities
Res/ - Application resources and icons
Code Linting
This project uses [cpplint](https://github.com/cpplint/cpplint) to enforce C++ style guidelines.