Registry / utility / lucasb-eyer-go-colorful

lucasb-eyer-go-colorful

JSON →
library1.4.0gogounverified

The colorful package provides all kinds of functions for working with colors, including conversions and manipulations.

go get github.com/lucasb-eyer/go-colorful
INSTALL
IMPORT
SIG · LUCASB-EYER-GO-COL
L
lucasb-eyer-go-colorful
utilitygov1.4.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.

colorful
github.com/lucasb-eyer/go-colorful

Parses a hex color and converts it to HSL.

import "github.com/lucasb-eyer/go-colorful" func main() { c, _ := colorful.Hex("#ff0000") hsl := c.Hsl() println(hsl[0], hsl[1], hsl[2]) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
lucasb-eyer-go-colorful — go get lucasb-eyer-go-colorful · libregistry