Coder Social home page Coder Social logo

jabbalaci / closestx11color Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 3.0 694 KB

Find the closest xterm-256 colors (between 0 and 255) to an arbitrary HTML hexa color (e.g. #ABCDEF)

License: MIT License

Shell 1.06% Python 98.94%
color k-nearest-neighbours python pyqt5 xterm xterm-256 terminal console

closestx11color's Introduction

Closest Xterm-256 Colors

Find the closest three xterm-256 colors (between 0 and 255) to an HTML hexa color (e.g. #ABCDEF).

Motivation

Under Linux, in a terminal, you can use 16 colors. However, most terminals support 256 different colors. You want to write a console application that uses some nice colors. If you find it difficult to pick colors from the 256 colors, then this GUI app. is for you.

How to use it? Let's say you find a nice color on an image. Open it in Gimp and use its color picker tool to identify the color. However, Gimp will tell you the color's HTML hexa code, e.g. #ABCDEF. With this app. you can find the closest colors from the 256 xterm colors. The application presents three choices that you can immediately use in your console application.

New: instead of just one color, the output now contains the closest three colors. If you don't like the first one, maybe you'll like the second or the third one.

Screenshots

Contributors

Links and Related Works

closestx11color's People

Contributors

jabbalaci avatar jamborzsanett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.