MCPcopy
hub / github.com/spicetify/cli / colorPreview

Function colorPreview

src/cmd/color.go:125–127  ·  view source on GitHub ↗
(color utils.Color)

Source from the content-addressed store, hash-verified

123}
124
125func colorPreview(color utils.Color) string {
126 return "\x1B[48;2;" + color.TerminalRGB() + "m \033[0m"
127}

Callers 1

DisplayColorsFunction · 0.85

Calls 1

TerminalRGBMethod · 0.65

Tested by

no test coverage detected