A Windows-based color picker utility built with Microsoft Foundation Classes (MFC).
This GitHub repository contains the source code for Color Cop. It is intended for developers and contributors who want to build, debug, or improve the application.
If you just want to download and use Color Cop, please visit the official website: colorcop.net
The website provides the latest stable installer and user-focused information. This repository is focused on development, issue tracking, and contribution workflows.
If you want to build and run Color Cop from source:
-
Install prerequisites
- Windows 10/11
- Visual Studio 2022 with:
- MSVC v143 compiler toolset
- Windows 10/11 SDK
- MFC for latest v143 build tools (x86 & x64)
-
Clone the repository
git clone https://github.com/ColorCop/ColorCop.git cd ColorCop
MSBuild.exe ColorCop.sln /p:Configuration=Release /p:Platform=Win32
- Debug: Development build with debugging symbols
- Release: Optimized production build
ColorCop uses semantic version tags (e.g., v5.5.2) to drive the release pipeline. Pushing a new tag triggers GitHub Actions to build the application, update version metadata, and publish a new GitHub Release with 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 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