{"repo":"gookit/color","free":true,"listed":false,"github":"https://github.com/gookit/color","clone":"git clone https://github.com/gookit/color.git","description":"🎨 Terminal color rendering library, support 8/16 colors, 256 colors, RGB color rendering output, support Print/Sprintf methods, compatible with Windows. GO CLI 控制台颜色渲染工具库，支持16色，256色，RGB色彩渲染输出，使用类似于 Print/Sprintf，兼容并支持 Windows 环境的色彩渲染","language":"Go","stars":1602,"topics":["cli-color","console-color","color","terminal-colors","256-colors","rgb-color","true-color","gookit","go-color","color-rgb"],"license":"MIT","category":"cli-tools","readme_excerpt":"CLI Color A command-line color library with 16/256/True color support, universal API methods and Windows support. 中文说明 Basic color preview: Now, 256 colors and RGB colors have also been supported to work in Windows CMD and PowerShell: Features - Simple to use, zero dependencies - Supports rich color output: 16-color (4-bit), 256-color (8-bit), true color (24-bit, RGB) - 16-color output is the most commonly used and most widely supported, working on any Windows version - Since v1.2.4 the 256-color (8-bit), true color (24-bit) support windows CMD and PowerShell - See this gist for information on true color support - Support converts HEX HSL value to RGB color - Generic API methods: Print , Printf , Println , Sprint , Sprintf - Supports HTML tag-style color rendering, such as message text . - In addition to using built-in tags, it also supports custom color attributes - Custom color attributes support the use of 16 color names, 256 color values, rgb color values and hex color values - Support working on Windows cmd and powerShell terminal - 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 GoDoc See godoc for github Install Quick start Run demo: go run ./ examples/demo.go Basic/16 co","default_branch":null,"files":null,"tree":[],"storefront":"/r/gookit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gookit/color/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}