Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZeppelinMC/Zeppelin
/ CustomColor
Function
CustomColor
protocol/text/color.go:32–36 ·
view source on GitHub ↗
(c color.Color)
Source
from the content-addressed store, hash-verified
30
}
31
32
func
CustomColor(c color.Color) string {
33
r, g, b, _ := c.RGBA()
34
35
return
RGB(uint8(r>>8), uint8(g>>8), uint8(b>>8))
36
}
Callers
nothing calls this directly
Calls
1
RGB
Function · 0.85
Tested by
no test coverage detected