Skip to content

akcansoft/Pixel-Color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AS Pixel Color v2.4

AutoHotkey Platform License Version

GitHub stars GitHub forks GitHub issues Downloads

AS Pixel Color is a professional, open-source real-time pixel color analysis tool built with AutoHotkey v2. It provides detailed pixel inspection, multiple color formats, and practical tools for designers, developers, and digital artists.

App Screen Shot

🌟 Key Features

  • Integrated Color Palette: Save sampled colors to a persistent palette. Supports up to 52 colors with automatic persistence across sessions.
  • Smart Palette Management: Automatically prevents duplicate colors and includes a "Sort" feature to organize colors by perceptual luminance (dark to light).
  • Modern Menu Bar Interface: Quick access to all features via a structured menu system (File, Settings, Palette, Help).
  • GDI+ Pixel Zoom Preview: Inspect screen pixels in detail with a real-time zoom preview from 2x to 72x.
  • DPI-Aware Sampling: Uses per-monitor DPI awareness and physical-coordinate capture for precise color picking on mixed-DPI multi-monitor setups.
  • Active Pixel Highlighting: The center pixel is marked with a high-contrast double border (black + white) for clear visibility.
  • Flexible UI Controls: Toggle Zoom, Grid lines, and Auto-Update via checkboxes or the menu bar.
  • Extensive Color Format Support: HEX, DEC, RGB, RGB (%), RGBA, BGR, CMYK, HSL, and HSV.
  • Color Name Recognition: Detects standard named colors (e.g., AliceBlue, Crimson) instantly.
  • Detailed RGB Analysis: Displays channel values numerically and with visual progress bars that change color based on intensity.
  • Precision Shortcuts: Custom hotkeys for micro-movements and quick actions.

⌨️ Shortcuts and Usage

  1. Track Motion: Move the mouse anywhere on screen to inspect the current pixel in real time.
  2. Pause/Resume Updates: Press F1 to toggle live updates (or use the Update checkbox/menu).
  3. Save Color to Palette: Press F2 (or use the Add button/menu) to save the current color.
  4. Precision Mouse Move:
    • Ctrl + Arrow Keys: Move the cursor by 1 pixel.
    • Ctrl + Shift + Arrow Keys: Move the cursor by 10 pixels.
  5. Adjust Zoom:
    • Use the Mouse Wheel to increase/decrease zoom.
    • Use the Zoom Slider for direct level selection.
  6. Toggle Zoom/Grid:
    • Use the Zoom checkbox/menu to show/hide zoom preview.
    • Use Grid lines checkbox/menu to switch grid overlay on/off.
  7. Copy Values: Click any Copy button to send the selected value to clipboard.

🛠️ Technical Setup

Standalone Version (.exe)

Download and run the .exe file for your system from the releases page.

Running from Source

  1. Install AutoHotkey v2.
  2. Download the source .ahk file and app_icon.ico from the src/ folder.
  3. Place required files in the same directory.
  4. Run the script by double-clicking the .ahk file.

📝 Version History

  • v2.4 (2026-02-17):
    • Added Color Palette system with persistence (palette.txt).
    • Implemented Duplicate Prevention and Luminance Sorting for the palette.
    • Added a Comprehensive Menu Bar for better feature accessibility.
    • Expanded UI layout to accommodate the palette and improved control grouping.
    • Added F2 shortcut for adding colors to the palette.
    • Refactored technical core with a centralized CONFIG object.
  • v2.3 (2026-02-16):
    • Added DPI-aware capture flow with physical cursor/pixel sampling support.
    • Refactored screen capture and zoom rendering to a bitmap-based, nearest-neighbor pipeline.
    • Improved edge behavior by capturing an extra ring and safely filling out-of-screen regions.
    • Updated zoom step set to 2x-72x with refined progression.
    • Updated UI controls: dedicated Zoom toggle placement and About button.
    • Kept refresh performance optimized with change-driven updates and render locking.
  • v2.2 (2026-02-14):
    • Added a Grid lines toggle for the zoom preview.
    • Reworked zoom system with predefined zoom steps and improved slider/mouse-wheel behavior.
    • Improved preview logic to keep an adaptive visible area and more stable centering.
    • Improved multi-monitor and screen-edge capture safety.
    • Refactored update flow with centralized APP/State objects and render lock.
    • Optimized refresh behavior to redraw only when position/color/zoom changes.
    • Improved color conversion flow by reusing shared HSX calculations.
  • v2.1 (2026-02-13):
    • Added high-contrast active pixel highlighting.
    • Added precision keyboard shortcuts for 1px and 10px cursor movement.
    • Refactored grid updates for smoother performance.
  • v2.0 (2026-02-12):
    • Introduced GDI+ advanced zoom grid.
    • Added HSL, HSV, and CMYK color formats.
    • Added color name identification.
    • Redesigned and modernized UI.
    • Added mouse wheel zoom control.
  • v1.4 (2025-05-04):
    • Code optimization and performance improvements.
  • v1.3 (2024-04-18):
    • Added Always on Top option and tray icon adjustments.
  • v1.0 (2024-03-20):
    • Initial release.

🤝 Contributing

Contributions are welcome. Open a pull request or submit an issue to suggest features or report bugs.

👤 Author

Mesut Akcan
Email: makcan@gmail.com
Blog: akcanSoft Blog | Mesut Akcan Blog
YouTube: YouTube Channel