Grunge paint background

sxcs – minimal X11 color picker and magnifier

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 in action

sxcs is written in C. Learn C with our recommended free books and free tutorials.


Related Software

Color Pickers
pastelGenerate, analyze, convert and manipulate colors
GpickAdvanced color picker and palette editor
hyprpickerwlroots-compatible Wayland colour picker for Linux
EyedropperPick and format colors; this tool is geared towards advanced users
KColorChooserColor picker designed for KDE but runs on any desktop environment
PickPython-based color picker
RickrackUser-friendly color editor.
Gcolor3Color selection dialog written in GTK+ 3
xcolorLightweight color picker written in Rust
epickColor picker for creating harmonic color palettes
ColorpickerMinimal but complete colorpicker Electron-based desktop app
PicketScreen color picker with magnifier and custom/user defined formats
PaletaGenerates color palettes with ease
XgrabcolorBasic color picker
sxcsMinimal X11 color picker and magnifier
PigmentExtracts color palettes from your images
delicolourLightweight color finder
Deepin PickerSimple color picker
ColorSmithColor picker tool
BellaSimple eye dropper and color picker
pikTerminal-based color picker
wl-color-pickerShell script for Wayland and wlroots sessions
cpickExtensive color picker for the terminal
CoulrColor box to help developers and designers
Wayland Color PickerGTK4 application for Wayland desktops

Read our verdict in the software roundup.


Best Free and Open Source Software 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.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments