Skip to content

Conversation

@haydenmarshall65
Copy link
Contributor

Description

Added a few more options to the Color module of faker

Are you trying to fix an existing issue?

#213

Go Version

$ go version
go version go1.25.3 linux/amd64

Go Tests

$ go test
Running tool: /usr/local/go/bin/go test -timeout 30s -run ^(TestHex|TestRGB|TestRGBAsArray|TestCSS|TestSafeColorName|TestColorName|TestRGBA|TestOKLCH|TestRGBAAsArray|TestOKLCHAsArray|TestCSSOKLCH|TestCSSRGBA)$ github.com/jaswdr/faker/v2

=== RUN   TestHex
--- PASS: TestHex (0.00s)
=== RUN   TestRGB
--- PASS: TestRGB (0.00s)
=== RUN   TestRGBAsArray
--- PASS: TestRGBAsArray (0.00s)
=== RUN   TestCSS
--- PASS: TestCSS (0.00s)
=== RUN   TestSafeColorName
--- PASS: TestSafeColorName (0.00s)
=== RUN   TestColorName
--- PASS: TestColorName (0.00s)
=== RUN   TestRGBA
--- PASS: TestRGBA (0.00s)
=== RUN   TestOKLCH
--- PASS: TestOKLCH (0.00s)
=== RUN   TestRGBAAsArray
--- PASS: TestRGBAAsArray (0.00s)
=== RUN   TestOKLCHAsArray
--- PASS: TestOKLCHAsArray (0.00s)
=== RUN   TestCSSOKLCH
--- PASS: TestCSSOKLCH (0.00s)
=== RUN   TestCSSRGBA
--- PASS: TestCSSRGBA (0.00s)
PASS
ok      github.com/jaswdr/faker/v2      0.005s

@jaswdr
Copy link
Owner

jaswdr commented Nov 4, 2025

I'll take a look today into this

@jaswdr jaswdr merged commit 3a66b33 into jaswdr:master Nov 4, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants