A Windows-based color picker utility built with Microsoft Foundation Classes (MFC).
Color Cop is available as a simple Windows installer for every release.
You can download the latest version from our GitHub releases, or install it using winget:
winget install JayPrall.ColorCop- System tray color picker for Windows
- Real-time color sampling from anywhere on screen
- Multiple color format support (RGB, HEX, HSV)
- 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)
MSBuild.exe ColorCop.sln /p:Configuration=Release /p:Platform=Win32- Debug: Development build with debugging symbols
- Release: Optimized production build
ColorCop uses Git tags to trigger automated GitHub releases and publish compiled binaries.
git tag --listColorCop.cpp/h- Main application classColorCopDlg.cpp/h- Main dialog implementationSystemTray.cpp/h- System tray functionalitycolorspace.cpp/h- Color conversion utilitiesRes/- Application resources and icons
This project uses [cpplint](https://github.com/cpplint/cpplint) to enforce C++ style guidelines.
Install:
pip install cpplintRun linting:
./lint.sh- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly on Windows 10/11
- Submit a pull request
See LICENSE.TXT for details.
Build Errors:
- Ensure MFC components are installed in Visual Studio 2022
- Verify Windows SDK is installed
- Check that platform toolset is set to v143
Runtime Issues:
- Install Visual C++ Redistributable for Visual Studio 2022