Giter Club home page Giter Club logo

color_helper's Introduction

Color Helper

Simple Linux tool which identifies the color of the pixel the user is hovering over. The tool displays both the RGB/hex value of the pixel and the name of the color it matches. Directed towards individuals with colorblindness who might have trouble putting a name to a specific color on the screen.

screenshot

Dependencies:

  • GTK3.22+
  • X11

To run:

git clone https://github.com/bmoyer/color_helper.git
mkdir color_helper/build
cd color_helper/build
cmake ..
make -j8
./color_helper

Map file

Color names are stored in a map file with their RGB values. The map file is a newline-separated list where each item is of the format Color name,R,G,B. Simple example:

Red,255,0,0
Green,0,255,0
Blue,0,0,255

To identify a color's name from its RGB value, the tool finds the closest color from the map file. So, a larger list of colors will result in more specific color naming.

Preferences

The preferences dialog can be accessed by right-clicking anywhere on the UI and selecting 'Preferences' from the dropdown menu. Some of the preferences supported are:

  • Hide and show various elements of the UI (title bar, crosshair display, etc.)
  • Custom color map file
  • Frames per second
  • Zoom level

By default, preferences are stored in ~/config/colorhelperrc.

color_helper's People

Contributors

bmoyer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jawolters

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.