Registry / utility / go-playground-colors

go-playground-colors

JSON →
library1.3.1gogounverified

A Go library for parsing and manipulating color values.

go get github.com/go-playground/colors
INSTALL
IMPORT
SIG · GO-PLAYGROUND-COLO
G
go-playground-colors
utilitygov1.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

colors
github.com/go-playground/colors

Parses a hex color string and converts to RGB.

import "github.com/go-playground/colors" func main() { c, _ := colors.Parse("#FF0000") println(c.ToRGB().String()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
go-playground-colors — go get go-playground-colors · libregistry