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
- Outputs HEX, RGB and HSL codes to the terminal.
- Magnifying window can be customized via filters:
- square – draws a square border.
- xhair – draws a square crosshair.
- grid – draws grid.
- circle – draws a circle.
- Option to disable the magnifier.
- One shot – quit the program after a single selection.
- Option to disable color output which effectively turns sxcs into a magnifier.
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 |
| wl-color-picker | Shell script for Wayland and wlroots sessions |
| cpick | Extensive color picker for the terminal |
| Coulr | Color box to help developers and designers |
| Wayland Color Picker | GTK4 application for Wayland desktops |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

