sxcs is a minimal X11 color picker and magnifier.
Mouse Button1 will select and print the color to stdout. The output is TAB separated hex, rgb and hsl. Scroll Up/Down will zoom in and out. Any other mouse button will quit sxcs.
The keyboard can also be used when --keyboard is enabled. The arrow keys Left, Right, Up, Down as well as vi-like h, j, k, l are supported for moving the cursor. By default they move by 16 pixels, if Control is used then they move by 1 pixel, otherwise if Shift is used they move by 128 pixels instead. Space makes a selection. q and Escape quits. + and – zooms in and out.
This is free and open source software.
Key Features
- Sample colors from individual screen pixels.
- Print selected colors as tab-separated HEX, RGB, and HSL values.
- Magnifier with configurable zoom levels.
- Optional square border, crosshair, grid, and circular magnifier overlays.
- Keyboard-controlled cursor movement with adjustable step sizes.
- Mouse wheel and keyboard controls for changing magnification.
- One-shot mode that exits after a single color selection.
- Option to disable the magnifier.
- Magnifier-only mode without color selection output.
Website: codeberg.org/NRK/sxcs
Support:
Developer: NRK and contributors
License: GNU General Public License v3.0

sxcs is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Color Pickers | |
|---|---|
| pastel | Generate, analyze, convert and manipulate colors |
| Gpick | Advanced color picker and palette editor |
| hyprpicker | wlroots-compatible Wayland colour picker for Linux |
| Eyedropper | Pick and format colors; this tool is geared towards advanced users |
| KColorChooser | Color picker designed for KDE but runs on any desktop environment |
| Pick | Python-based color picker |
| Rickrack | User-friendly color editor. |
| Gcolor3 | Color selection dialog written in GTK+ 3 |
| xcolor | Lightweight color picker written in Rust |
| epick | Color picker for creating harmonic color palettes |
| Colorpicker | Minimal but complete colorpicker Electron-based desktop app |
| Picket | Screen color picker with magnifier and custom/user defined formats |
| Paleta | Generates color palettes with ease |
| Xgrabcolor | Basic color picker |
| sxcs | Minimal X11 color picker and magnifier |
| Pigment | Extracts color palettes from your images |
| delicolour | Lightweight color finder |
| Deepin Picker | Simple color picker |
| ColorSmith | Color picker tool |
| Bella | Simple eye dropper and color picker |
| pik | Terminal-based color picker |
| Piccolo | GTK4 colour picker with screen sampling and session history |
| Cherrypick | Screen colour picker with history and multiple output formats |
| wl-color-picker | Shell script for Wayland and wlroots sessions |
| Cpick | Extensive color picker for the terminal |
| Color Picker for COSMIC | Native COSMIC colour utility supporting six colour spaces |
| Coulr | Color box to help developers and designers |
| Wayland Color Picker | GTK4 application for Wayland desktops |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.