colorful - Terminal string styling done right, in Python :snake: :tada:

  •        73

Note: on a Windows system it will install colorama as a dependency to ensure proper ANSI support. These days terminals not only support the ancient 8 ANSI colors but often they support up to 16 Million colors with true color. And if they don't support true color they might support the 256 ANSI color palette at least.

https://github.com/timofurrer/colorful

Tags
Implementation
License
Platform

   




Related Projects

colors.js - get colors in your node.js console

  •    Javascript

colors.js - get colors and style in your node.js console. It helps to set colors for text, background colors. You can change the styles of text to bold, underline, inverse, strikethrough.

chalk - Intuitive package for prettifying terminal/console output

  •    Go

Chalk is a go package for styling console/terminal output. The api is pretty clean, there are default Colors and TextStyles which can be mixed to create more intense Styles. Styles and Colors can be printed in normal strings (i.e. fmt.Sprintf(chalk.Red)), but Styles, Colors and TextStyles are more meant to be used to style specific text segments (i.e. fmt.Println(chalk.Red.Color("this is red")) or fmt.Println(myStyle.Style("this is blue text that is underlined"))).

cli-color - Colors and formatting for the console

  •    Javascript

Colors, formatting and other goodies for the console. This package won't mess with built-ins and provides neat way to predefine formatting patterns, see below. Styles will display correctly if font used in your console supports them.

kleur - The fastest Node.js library for formatting terminal text with ANSI colors~!

  •    Javascript

Toggle color support as needed; kleur assumes it's always enabled. Any kleur method returns a String (when invoked, not chained). It's up to the developer to pass the output to destinations like console.log, process.stdout.write, etc.


jellybeans.vim - A colorful, dark color scheme for Vim.

  •    Vim

A colorful, dark color scheme, inspired by ir_black and twilight. Designed primarily for a graphical Vim, but includes support for 256, 88, 16, and 8 color terminals. On a 16 or 8 color terminal, replace its colors with those in ansi-term-colors.txt for best results.

node-charm - ansi control sequences for terminal cursor hopping and colors

  •    Javascript

Use ansi terminal characters to write colors and cursor positions.Charm objects pass along the data events from their input stream except for events generated from querying the terminal device.

colorette - Node.js library for colorizing text using ANSI escape sequences

  •    Javascript

Colorette is a Node.js library for colorizing text using ANSI escape sequences. Import the style functions you want to use.

Chalk - Terminal string styling done right

  •    Javascript

Chalk comes with an easy to use composable API where you just chain and nest the styles you want. Chain styles and call the last one as a method with a string argument. Order doesn't matter, and later styles take precedent in case of a conflict. This simply means that chalk.red.yellow.green is equivalent to chalk.green.

ansiweather - Weather in your terminal, with ANSI colors and Unicode symbols

  •    Shell

AnsiWeather is a Shell script for displaying the current weather conditions in your terminal, with support for ANSI colors and Unicode symbols.Weather data comes from the OpenWeatherMap free weather API.

shml - SHell Markup Language | Style Framework for The Terminal

  •    Shell

SHML is a shell framework for faster and easier script development. HTML has CSS, terminals have "ANSI/VT100 Control Sequences". SHML makes is easy to apply some style to your shell scripts without trying to remember that Yellow = \033[33m instead Yellow is $(color yellow).

pastel - Terminal output styling with intuitive and clean API.

  •    Ruby

Terminal output styling with intuitive and clean API that doesn't monkey patch String class. Pastel is minimal and focused to work in all terminal emulators.

papercolor-theme - :art: Light & Dark Vim color schemes inspired by Google's Material Design

  •    Vim

Support True color / GUI-color and identical 256-color that the design is based on. Also gracefully support down to 16-color terminal, which will use terminal native colors. You need to change the terminal colors to PaperColor palette.

go-colorful - A library for playing with colors in go (golang).

  •    Go

A library for playing with colors in go (golang). I love games. I make games. I love detail and I get lost in detail. One such detail popped up during the development of Memory Which Does Not Suck, when we wanted the server to assign the players random colors. Sometimes two players got very similar colors, which bugged me. The very same evening, I want hue was the top post on HackerNews' frontpage and showed me how to Do It Right™. Last but not least, there was no library for handling color spaces available in go. Colorful does just that and implements Go's color.Color interface.

LS_COLORS - A collection of LS_COLORS definitions; needs your contribution!

  •    Shell

This is a collection of extension:color mappings, suitable to use as your LS COLORS environment variable. Most of them use the extended color map, described in the ECMA-48 document; in other words, you'll need a terminal with capabilities of displaying 256 colors. As of this writing, around 300 different filetypes/extensions is supported. That's indeed a lot of extensions, but there's a lot more! Your help is greatly appreciated.

aurora - Golang ultimate ANSI-colors that supports Printf/Sprintf methods

  •    Go

Ultimate ANSI colors for Golang. The package supports Printf/Sprintf etc.

seoul256.vim - :deciduous_tree: Low-contrast Vim color scheme based on Seoul Colors

  •    Vim

seoul256.vim is a low-contrast Vim color scheme based on Seoul Colors. Works on 256-color terminal or on GVim.Use your favorite plugin manager.

ansi_up - A javascript library that converts text with ANSI terminal codes into colorful HTML

  •    Javascript

ansi_up is a simple, easy to use library that provides a streaming API to transform text containing ANSI color escape codes into proper HTML. It can also transform any text that looks like a URL into an HTML anchor tag. This module is a single Javascript file with no dependencies. It is a UMD style module so it can be utilized in a browser, in node.js (CommonJS), or with AMD (require.js). The source code was compiled from TypeScript and its type description ships with the NPM. This code has been used in production since 2011 and is actively maintained.

Sketch-Style-Inventory - Review, import & export styles in Sketch.

  •    Javascript

14 April 2018: The plugin has been updated to work with Sketch 49. Design requires free, sometimes chaotic exploration. But design also means organization and structure. Sketch can be good in both aspects, but moving from exploration to structured layouts with text styles and unified colors is hard. Either you start clean files from scratch, or you use what you have and try to tidy it up. The Style Inventory is meant to help you with that. It gives you an overview of all your used styles and helps you to merge styles of similar layers into one.





We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.