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

Interface Color

src/utils/color.go:67–71  ·  view source on GitHub ↗

Color stores hex and rgb value of color

Source from the content-addressed store, hash-verified

65
66// Color stores hex and rgb value of color
67type Color interface {
68 Hex() string
69 RGB() string
70 TerminalRGB() string
71}
72
73// ParseColor parses a string in both hex or rgb
74// or from XResources or env variable

Callers 6

EditColorFunction · 0.65
DisplayColorsFunction · 0.65
getColorCSSFunction · 0.65
DisplayColorsFunction · 0.65
getColorCSSFunction · 0.65
colorPreviewFunction · 0.65

Implementers 1

colorsrc/utils/color.go

Calls

no outgoing calls

Tested by

no test coverage detected