Registry / utility / go-playground-colors-v1

go-playground-colors-v1

JSON →
library1.2.0gogounverified

A color parsing and manipulation library supporting various color models (RGB, HSL, HEX, etc.).

go get gopkg.in/go-playground/colors.v1
INSTALL
IMPORT
SIG · GO-PLAYGROUND-COLO
G
go-playground-colors-v1
utilitygov1.2.0
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
gopkg.in/go-playground/colors.v1

Parses a hex color string and prints its RGB representation.

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

No known issues recorded.

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

No dependency data recorded yet.

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