Skip to content
Advanced color picker written in C++ using GTK+ toolkit
C++ C Python Lua NSIS CMake Other
Branch: master
Clone or download
thezbyg Prefix all internal library names
Found system libraries and defined internal libraries share the same
namespace and can cause linking errors due to internal libraries
overriding system libraries.

Issue #156.
Latest commit 3b17cf9 Oct 11, 2018

Gpick - advanced color picker and palette editor.

Gpick is an application that allows you to sample any color from anywhere on the desktop, and use it to create palettes (i.e. collections of colors) for use in graphic design applications. Gpick also has other features that help in the creation of color palettes, such as:

  • The ability to create a palette from an imported image
  • Automatic naming of colors
  • Color scheme generator
  • Import and export from various file formats

Building from source


Some of C++14 features are required. Compilation is currently only tested on gcc version 5.3.1.

Build dependencies

SCons 2.4 or newer: a software construction tool (

CMake 3.1 or newer: build process management application (

Either SCons or CMake can be used.

Ragel 6.8 or newer: state machine compiler (


GTK+ 2.24 (

GTK+ 3.0 (

Either GTK+ 2.x or GTK+ 3.x can be used.

Lua 5.3 or 5.2 (

Expat (

Boost 1.58 or newer ( Used libraries:

  • Filesystem.
  • System.
  • Interprocess.
  • Test (only when building/running tests).

Optional dependencies

gettext ( Required if ENABLE_NLS is enabled. Required by default.


Using SCons:

scons to compile all files and place executable file in build/source/.

scons install to install executable and resources to DESTDIR. By default DESTDIR is /usr/local.

Using CMake:

mkdir build && cd build to create out-of-source build directory.

cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local to prepare build files for installation to '/usr/local'.

make to compile all files.

make install to install executable and resources to DESTDIR. Default DESTDIR value is set by CMAKE_INSTALL_PREFIX variable.

Build options

ENABLE_NLS - compile with gettext support. Enabled by default.

USE_GTK3 - use GTK3 instead of GTK2. Enabled by default.

You can’t perform that action at this time.