• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gookit / color
99%

Build:
DEFAULT BRANCH: master
Repo Added 20 Jul 2018 09:06AM UTC
Files 12
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • codex/reject-signed-hex-colors
  • copilot/fix-84
  • copilot/fix-95
  • dependabot/add-v2-config-file
  • dependabot/github_actions/WillAbides/setup-go-faster-1.10.0
  • dependabot/github_actions/WillAbides/setup-go-faster-1.10.1
  • dependabot/github_actions/WillAbides/setup-go-faster-1.11.0
  • dependabot/github_actions/WillAbides/setup-go-faster-1.12.0
  • dependabot/github_actions/WillAbides/setup-go-faster-1.13.0
  • dependabot/github_actions/WillAbides/setup-go-faster-1.14.0
  • dependabot/github_actions/WillAbides/setup-go-faster-1.8.0
  • dependabot/github_actions/WillAbides/setup-go-faster-1.9.0
  • dependabot/github_actions/WillAbides/setup-go-faster-1.9.1
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/github/codeql-action-3
  • dependabot/github_actions/github/codeql-action-4
  • dependabot/github_actions/softprops/action-gh-release-2
  • dependabot/go_modules/github.com/stretchr/testify-1.6.1
  • dependabot/go_modules/github.com/stretchr/testify-1.7.1
  • dependabot/go_modules/github.com/stretchr/testify-1.7.2
  • dependabot/go_modules/github.com/stretchr/testify-1.7.3
  • dependabot/go_modules/github.com/stretchr/testify-1.7.5
  • dependabot/go_modules/github.com/stretchr/testify-1.8.0
  • dependabot/go_modules/github.com/stretchr/testify-1.8.1
  • dependabot/go_modules/github.com/stretchr/testify-1.8.2
  • dependabot/go_modules/github.com/stretchr/testify-1.8.3
  • dependabot/go_modules/github.com/stretchr/testify-1.8.4
  • dependabot/go_modules/github.com/stretchr/testify-1.9.0
  • dependabot/go_modules/golang.org/x/sys-0.10.0
  • dependabot/go_modules/golang.org/x/sys-0.13.0
  • dependabot/go_modules/golang.org/x/sys-0.15.0
  • dependabot/go_modules/golang.org/x/sys-0.16.0
  • dependabot/go_modules/golang.org/x/sys-0.17.0
  • dependabot/go_modules/golang.org/x/sys-0.18.0
  • dependabot/go_modules/golang.org/x/sys-0.19.0
  • dependabot/go_modules/golang.org/x/sys-0.20.0
  • dependabot/go_modules/golang.org/x/sys-0.21.0
  • dependabot/go_modules/golang.org/x/sys-0.22.0
  • dependabot/go_modules/golang.org/x/sys-0.23.0
  • dependabot/go_modules/golang.org/x/sys-0.24.0
  • dependabot/go_modules/golang.org/x/sys-0.25.0
  • dependabot/go_modules/golang.org/x/sys-0.31.0
  • dependabot/go_modules/golang.org/x/sys-0.32.0
  • dependabot/go_modules/golang.org/x/sys-0.8.0
  • dependabot/go_modules/golang.org/x/sys-0.9.0
  • dualfroz/rgbtohex-zeropad
  • fix/c256-rgb-intermediate-overflow
  • fix/indexed-palette-values
  • fix/rgb-average-overflow-20261027
  • master
  • refs/tags/v1.3.5
  • refs/tags/v1.3.6
  • refs/tags/v1.3.7
  • refs/tags/v1.3.8
  • refs/tags/v1.4.0
  • refs/tags/v1.4.1
  • refs/tags/v1.4.2
  • refs/tags/v1.5.0
  • refs/tags/v1.5.1
  • refs/tags/v1.5.2
  • refs/tags/v1.5.3
  • refs/tags/v1.5.4
  • refs/tags/v1.6.0
  • refs/tags/v1.6.1
  • refs/tags/v1.6.2
  • refs/tags/v1.6.3
  • v1.1.10
  • v1.1.11
  • v1.1.3
  • v1.1.4
  • v1.1.5
  • v1.1.6
  • v1.1.7
  • v1.1.8
  • v1.1.9
  • v1.2.0
  • v1.2.1
  • v1.2.2
  • v1.2.3
  • v1.2.4
  • v1.2.5
  • v1.2.6
  • v1.2.7
  • v1.2.8
  • v1.2.9
  • v1.3.0
  • v1.3.1
  • v1.3.2
  • v1.3.3
  • v1.3.4
  • v1.3.5

27 Oct 2026 07:08AM UTC coverage: 98.612% (+0.002%) from 98.61%
40465306772

push

github

inhere
test(convert): cover bright and 0x80 channels in the average table

1492 of 1513 relevant lines covered (98.61%)

8.57 hits per line

Relevant lines Covered
Build:
Build:
1513 RELEVANT LINES 1492 COVERED LINES
8.57 HITS PER LINE
Source Files on master
  • Tree
  • List 12
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
40465306772 master test(convert): cover bright and 0x80 channels in the average table push 27 Oct 2026 07:08AM UTC inhere github
98.61
40465150395 master fix: avoid overflow when averaging RGB channels for ANSI colors (#127) push 27 Oct 2026 07:07AM UTC web-flow github
98.61
40458387566 fix/rgb-average-overflow-20261027 Fix overflow when averaging RGB channels for ANSI colors Pull #127 27 Oct 2026 06:10AM UTC jdotc1 github
98.61
39243227483 master fix: avoid overflow in legacy palette conversion (#123) push 19 Oct 2026 11:14AM UTC web-flow github
98.61
39242663651 master fix: count options when checking RGBStyle emptiness (#126) push 19 Oct 2026 11:10AM UTC web-flow github
98.61
39242644987 master fix: use background SGR code for white tags (#125) push 19 Oct 2026 11:10AM UTC web-flow github
98.61
38853503967 master style(examples): 给 _examples 的 demo 文件加 //go:build ignore _examples 是独立的 demo 模块(color_example), 每个文件各自定义 func main, 本意是用 `go run 文件.go` 单独跑, 所以 `go build ./...` 一直报 28 行 "main redeclared"。 给全部 18 个文件(_examples/*.go 13 个、ref/ 3 个、related/ 2 个)加 `... push 16 Oct 2026 05:00AM UTC inhere github
98.61
38852271202 master style: gofmt 清掉历史遗留的未格式化文件 `gofmt -l .` 之前会列出 7 个文件(与 .github/copilot-instructions.md 的“提交前执行 go fmt”不符), 现在跑一遍 gofmt -w 后输出为空。改动都是纯格式: - 文档注释里的代码块按 Go 1.19+ 规范重排(加空 // 行 + 制表符缩进): color_16.go、 _examples/envcheck.go、_examples/ref/cmd_color.go ... push 16 Oct 2026 04:45AM UTC inhere github
98.61
38842134621 master test(convert): 拆分带符号用例并补齐合法输入覆盖 #124 合并后的三处收尾: - TestHexToRgbRejectsSignedValues 现在只断言拒绝(原来第二段是正向表格, 与测试名不符), 并补上 HexToRGB/Hex2rgb 别名、0x+符号 的归一化, 以及符号剥掉后长度不足的输入; - TestHexToRgb(utils_test.go) 补上“必须仍然接受”的形状: 纯大写、0x 前缀(小写与大写)、 上下边界 —— 该表格同时断言 ... push 16 Oct 2026 02:46AM UTC inhere github
98.61
38841782143 master fix(convert): reject signed hexadecimal RGB color values (#124) HexToRgb parsed the normalized 6-char value with strconv.ParseInt(hex, 16, 32), so a signed input such as -00001 was accepted as a colour -- rgb [-1 255 255] -- and HEX() rendered it... push 16 Oct 2026 02:42AM UTC web-flow github
98.61
See All Builds (330)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc