This package browser is in early development. Mind the rough edges.

go-github-com-gookit-color 1.5.4

Terminal color rendering library

This package provides a command-line color library with 16/256/True color support, universal API methods and Windows support.

Features:

  • supports rich color output: 16-color (4-bit), 256-color (8-bit), true color (24-bit, RGB)

  • support converts HEX HSL value to RGB color

  • generic API methods: Print, Printf, Println, Sprint, Sprintf

  • supports HTML tag-style color rendering, such as <green>message</> <fg=red;bg=blue>text</>

  • basic colors: Bold, Black, White, Gray, Red, Green, Yellow, Blue, Magenta, Cyan

  • additional styles: Info, Note, Light, Error, Danger, Notice, Success, Comment, Primary, Warning, Question, Secondary

  • support by set NO_COLOR for disable color or use FORCE_COLOR for force open color render

  • support RGB, 256, 16 color conversion

Installation

Install go-github-com-gookit-color 1.5.4 as follows:

guix install go-github-com-gookit-color@1.5.4

Or install the latest version:

guix install go-github-com-gookit-color

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.