Coder Social home page Coder Social logo

farge's Introduction


โœจ Click on a pixel on your screen and show its color value โœจ

farge is command line tool to select pixel on the screen and return the value of the color in either HEX or RGB format. The color code is automatically saved to the clipboard. If you want to save the color, farge is able to show the color in a image viewer with the color code on it. This tool is able to use a varaiety of image viewers like feh, mฬ€pv andsxiv.

Dependencies

Installation

Install using make

# Clone the repo
$ git clone https://github.com/sdushantha/farge

# Change your current directory to farge
$ cd farge

# Install it
$ sudo make install

Install it locally

# Download the farge source code, save as farge
# and make it executeable
$ curl -L https://git.io/raw-farge > farge && chmod +x farge

# Then move farge to somewhere in your $PATH
# Here is an example
$ mv farge ~/scripts/

Usage

$ farge --help
usage: farge [-h] [--no-preview] [--no-color-code] [--rbg]  [--version]
 
โ”Œโ”€โ”โ”Œโ”€โ”โ”ฌโ”€โ”โ”Œโ”€โ”โ”Œโ”€โ”
โ”œโ”ค โ”œโ”€โ”คโ”œโ”ฌโ”˜โ”‚ โ”ฌโ”œโ”ค 
โ”ด  โ”ด โ”ดโ”ดโ””โ”€โ””โ”€โ”˜โ””โ”€โ”˜
Click on a pixel on your screen and show its color value

optional arguments:
   --help                show this help message and exit
   --no-preview          dont show the selected color in a preview window
   --no-color-code       dont write the color code on the preview window
   --rgb                 show the color code as RGB instead of HEX
   --image-viewer        image viewer to use to show the preview (feh, mpv, sxiv)
   --version             show the version of kunst you are using

License

MIT License

Copyright ยฉ 2019 Siddharth Dushantha

farge's People

Contributors

sdushantha avatar

Watchers

 avatar

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.