MCPcopy Index your code
hub / github.com/git-bug/git-bug / RGBA

Method RGBA

entities/common/label.go:69–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67type LabelColor color.RGBA
68
69func (lc LabelColor) RGBA() color.RGBA {
70 return color.RGBA(lc)
71}
72
73func (lc LabelColor) Term256() Term256 {
74 red := Term256(lc.R) * 6 / 256

Callers 2

ColorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected