All Projects → mattn → Go Colorable

mattn / Go Colorable

Licence: mit

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Go Colorable

Pickr
🎨 Flat, simple, multi-themed, responsive and hackable Color-Picker library. No dependencies, no jQuery. Compatible with all CSS Frameworks e.g. Bootstrap, Materialize. Supports alpha channel, rgba, hsla, hsva and more!
Stars: ✭ 3,759 (+629.9%)
Mutual labels:  color
Gommon
Common packages for Go
Stars: ✭ 389 (-24.47%)
Mutual labels:  color
Open Color
Color scheme for UI design.
Stars: ✭ 4,512 (+776.12%)
Mutual labels:  color
Theme Ui
Build consistent, themeable React apps based on constraint-based design principles
Stars: ✭ 4,150 (+705.83%)
Mutual labels:  color
Mordant
Full-featured text styling for Kotlin command-line applications
Stars: ✭ 382 (-25.83%)
Mutual labels:  color
Chromacolorpicker
🎨 An intuitive iOS color picker built in Swift.
Stars: ✭ 434 (-15.73%)
Mutual labels:  color
Hues
Colored terminal text made easy for Python and happiness.
Stars: ✭ 345 (-33.01%)
Mutual labels:  color
Privilege Escalation Awesome Scripts Suite
PEASS - Privilege Escalation Awesome Scripts SUITE (with colors)
Stars: ✭ 7,144 (+1287.18%)
Mutual labels:  color
Colorkit
Advanced color manipulation for iOS.
Stars: ✭ 388 (-24.66%)
Mutual labels:  color
Sketch swatches
A swatches plugin for Sketch.
Stars: ✭ 446 (-13.4%)
Mutual labels:  color
Picassopalette
Android Lollipop Palette is now easy to use with Picasso !
Stars: ✭ 366 (-28.93%)
Mutual labels:  color
Nord Emacs
An arctic, north-bluish clean and elegant Emacs theme.
Stars: ✭ 379 (-26.41%)
Mutual labels:  color
Gruvbox Material
Gruvbox with Material Palette
Stars: ✭ 433 (-15.92%)
Mutual labels:  color
Colorls
A Ruby gem that beautifies the terminal's ls command, with color and font-awesome icons. 🎉
Stars: ✭ 3,896 (+656.5%)
Mutual labels:  color
Vanilla Colorful
A tiny color picker custom element for modern web apps (2.7 KB) 🎨
Stars: ✭ 467 (-9.32%)
Mutual labels:  color
Tailwindcss Theming
Tailwind CSS plugin for client-side theming using CSS variables, with dark mode support
Stars: ✭ 349 (-32.23%)
Mutual labels:  color
Color
Color package for Go (golang)
Stars: ✭ 4,904 (+852.23%)
Mutual labels:  color
Cohesive Colors
Tool that may help you to create cohesive color schemes.
Stars: ✭ 492 (-4.47%)
Mutual labels:  color
Gradient String
🌈 Beautiful color gradients in terminal output
Stars: ✭ 476 (-7.57%)
Mutual labels:  color
Chromatic Sketch
Sketch plugin for creating good-looking and perceptually uniform gradients and color scales.
Stars: ✭ 445 (-13.59%)
Mutual labels:  color

go-colorable

Build Status Codecov GoDoc Go Report Card

Colorable writer for windows.

For example, most of logger packages doesn't show colors on windows. (I know we can do it with ansicon. But I don't want.) This package is possible to handle escape sequence for ansi color on windows.

Too Bad!

So Good!

Usage

logrus.SetFormatter(&logrus.TextFormatter{ForceColors: true})
logrus.SetOutput(colorable.NewColorableStdout())

logrus.Info("succeeded")
logrus.Warn("not correct")
logrus.Error("something error")
logrus.Fatal("panic")

You can compile above code on non-windows OSs.

Installation

$ go get github.com/mattn/go-colorable

License

MIT

Author

Yasuhiro Matsumoto (a.k.a mattn)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].