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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?