Giter Site home page Giter Site logo

colort's People

Contributors

neeasade avatar rocx avatar tudurom avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

colort's Issues

nice project - have a look at the Lab color space

You might be interested in doing color tinting, adjustments, interpolation, or manipulation in general in the Lab color space. I like especially the HCL representation which works like HSV. Once I understood this color space, RGB calculations feel completely wrong and ugly ;).
It works like this:
Convert RGB to Lab -> do your calculations -> Convert back to RGB

Strange results when parsing input

I have strange results a valid my .Xresources file, example I have background defined as:

#define black #2c2e34
*.background:   black

colort gives me

$ colort background && echo
back000000
$ colort -s 1 background && echo
bAC0000und
$ colort -s 2 background && echo
ba0C0000nd
$ colort -s 3 background && echo
bac000000d
$ colort -s 4 background && echo
back000000
$ colort -s 6 background && echo
backgr000000HELL=/bin/bash
$ colort -s 8 background && echo
backgrou000000LL=/bin/bash
$ colort -s 12 background && echo
background
$ colort -s 14 background && echo
background

or

$ colort -s 10 background && echo
background000000=/bin/bash

not to mention what it looks like a memory bug.

An opinion on this?

thanks

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.