GitShow/fatih/color
fatih

color

Color package for Go (golang)

by fatih
ansicolorcoloringgogolang
Star on GitHubForkWebsite

Go

8.0k stars640 forks43 contributorsActive · 1w agoSince 2014v1.19.0MIT

Meet the team

See all 43 on GitHub →
fatih
fatih197 contributions
dependabot[bot]Bot
dependabot[bot]35 contributions
gregpoirson
gregpoirson7 contributions
pellared
pellared4 contributions
n10v
n10v3 contributions
sashamelentyev
sashamelentyev2 contributions
bl-ue
bl-ue2 contributions
zddhub
zddhub2 contributions

Languages

View on GitHub →
Go100%

Commit activity

Last 12 weeks · 10 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · 5 in progress · Last activity 1w ago
See all on GitHub →
c-tonneslan
fix: correct AddBgRGB godoc and tighten both RGB examplesOpenPR

The godoc for starts with \"AddRGB\", which made it look like a copy of the doc. The example in both (\) also doesn't compile as written, since / take three ints, not a chain of calls. Cleaned both docstrings up so the names match the methods they describe and the examples are actually valid Go. Test plan No behavior change, comments only.

c-tonneslan · 1mo ago

Recent fixes

View closed PRs →
wyf027
docs: warn against fmt.Sprintf with color helpersMergedPR

Fixes #185 Documents that and similar helpers should receive format strings and arguments directly, not a pre-formatted string from , to avoid format-string issues with untrusted input.

wyf027 · 1mo ago
majiayu000
docs: add text/tabwriter compatibility sectionMergedPR

Fixes #240 Changes Added documentation section explaining why ANSI colors break text/tabwriter alignment Provided workaround using ANSI-aware tabwriter replacements (juju/ansiterm or liggitt/tabwriter) Documented option to disable colors when aligned table output is required

majiayu000 · 2mo ago
Structured data for AI agents

Repository: fatih/color. Description: Color package for Go (golang) Stars: 7979, Forks: 640. Primary language: Go. Languages: Go (100%). License: MIT. Homepage: https://pkg.go.dev/github.com/fatih/color Topics: ansi, color, coloring, go, golang. Latest release: v1.19.0 (3mo ago). Open PRs: 5, open issues: 19. Last activity: 1w ago. Community health: 42%. Top contributors: fatih, dependabot[bot], gregpoirson, pellared, n10v, sashamelentyev, bl-ue, zddhub, ataypamart, pattmax00 and others.

·@ofershap

Replace github.com with gitshow.dev