An open API service indexing awesome lists of open source software.

https://github.com/pablopunk/truecolor

`npx truecolor` - Test if your terminal supports true color
https://github.com/pablopunk/truecolor

Last synced: 8 months ago
JSON representation

`npx truecolor` - Test if your terminal supports true color

Awesome Lists containing this project

README

          

# truecolor





Quickly check if your terminal supports true color

## Install

You need to have `bash`, `ruby` and `npm` installed.

```bash
$ npx truecolor
```

You could also do it without `npm`. Just download [the script](https://github.com/pablopunk/truecolor/blob/master/truecolor) and execute it.

## How does it work

If your terminal **does** support true color, you will see this smooth transition:

![supported](https://github.com/pablopunk/art/raw/master/truecolor/supported.gif)

Otherwise, if it's **not** supported, you'll see something like:

![supported](https://github.com/pablopunk/art/raw/master/truecolor/not-supported.gif)

# Related

* Quickly show all your terminal colors: [colortest](https://github.com/pablopunk/colortest)
* Hyper theme: [hyper-native-dark](https://github.com/pablopunk/hyper-native-dark)
* NPM package generator: [miny](https://github.com/pablopunk/miny)
* Fast bash propmt: [bashy](https://github.com/pablopunk/bashy)
* Fast and lightweight tests: [myass](https://github.com/pablopunk/myass)

## License

The original code can be found [here](https://twitter.com/josh_cheek/status/1116321447234940928)

## Author

| ![me](https://gravatar.com/avatar/fa50aeff0ddd6e63273a068b04353d9d?size=100) |
| --------------------------------- |
| [Pablo Varela](https://pablo.life) |