rgbterm

RGB colors for your terminal

  • 所有者: aybabtme/rgbterm
  • 平台:
  • 许可证: Other
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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.

so many 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!")

screen shot 2014-07-13 at 0 56 44

Also, to be correct: there are 216 colors and 16 grey scales. For more details, Xterm.

主要指标

概览
名称与所有者aybabtme/rgbterm
主编程语言Go
编程语言Go (语言数: 1)
平台
许可证Other
所有者活动
创建于2014-07-13 05:02:47
推送于2017-09-06 15:20:46
最后一次提交2017-09-06 11:20:45
发布数0
用户参与
星数250
关注者数7
派生数20
提交数22
已启用问题?
问题数4
打开的问题数4
拉请求数5
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?