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

gookit / color / 38841782143
99%

Build:
DEFAULT BRANCH: master
Ran 16 Oct 2026 02:42AM UTC
Jobs 8
Files 12
Run time 1min
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

16 Oct 2026 02:42AM UTC coverage: 98.608%. Remained the same
38841782143

push

github

web-flow
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 as white instead of an empty colour. Parse it as an unsigned 24-bit value instead: that rejects a leading + / - and cannot overflow for a 6-digit input (0xFFFFFF fits in 24 bits exactly), so no legitimate colour changes.

CI on the PR (Go 1.18-1.20 x linux/macOS/windows, CodeQL, Codacy) was green; the signed-value regression was re-verified locally against master before merging.

2 of 2 new or added lines in 1 file covered. (100.0%)

1488 of 1509 relevant lines covered (98.61%)

8.57 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go-1.21 - 38841782143.1 16 Oct 2026 02:42AM UTC 12
98.54
GitHub Action Run
2 Go-1.20 - 38841782143.2 16 Oct 2026 02:42AM UTC 12
98.54
GitHub Action Run
3 Go-1.18 - 38841782143.3 16 Oct 2026 02:42AM UTC 12
98.54
GitHub Action Run
4 Go-1.24 - 38841782143.4 16 Oct 2026 02:42AM UTC 12
98.54
GitHub Action Run
5 Go-1.22 - 38841782143.5 16 Oct 2026 02:42AM UTC 12
98.54
GitHub Action Run
6 Go-1.23 - 38841782143.6 16 Oct 2026 02:42AM UTC 12
98.54
GitHub Action Run
7 Go-stable - 38841782143.7 16 Oct 2026 02:42AM UTC 12
98.3
GitHub Action Run
8 Go-1.19 - 38841782143.8 16 Oct 2026 02:42AM UTC 12
98.54
GitHub Action Run
Source Files on build 38841782143
  • Tree
  • List 12
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 35386b7d on github
  • Prev Build on master (#38754791222)
  • Next Build on master (#38842134621)
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