项目
在 GitHub 查看
aybabtme/rgbterm
关于
在终端中使用 RGB 颜色
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文RGB terminal
Have you had enough of the same 16 colors in your terminal?
Welcome to a new world. A new world where colors are plentyful. A world in 256 colors.

Usage
// pick a color
var r, g, b uint8
r, g, b = 252, 255, 43
// choose a word
word := "=)"
// colorize it!
coloredWord := rgbterm.FgString(word, r, g, b)
// print it!
fmt.Println("Oh!", coloredWord, "hello!")
Also, to be correct: there are 216 colors and 16 grey scales. For more details, Xterm.
探索相关项目
加载中…
