Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/avraammavridis/randomcolor
Go package to generate random colors
https://github.com/avraammavridis/randomcolor
color go golang golang-package hex hsv randomcolor rgb
Last synced: 3 months ago
JSON representation
Go package to generate random colors
- Host: GitHub
- URL: https://github.com/avraammavridis/randomcolor
- Owner: AvraamMavridis
- Created: 2018-08-20T08:15:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-22T17:23:42.000Z (over 6 years ago)
- Last Synced: 2024-10-11T06:29:58.186Z (3 months ago)
- Topics: color, go, golang, golang-package, hex, hsv, randomcolor, rgb
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 16
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# randomcolor
Go package to generate random colors
[![Build Status](https://travis-ci.org/AvraamMavridis/randomcolor.svg?branch=master)](https://travis-ci.org/AvraamMavridis/randomcolor)
```go
package mainimport (
"github.com/AvraamMavridis/randomcolor"
)func main() {
var colorInHex string = randomcolor.GetRandomColorInHex()
var colorInRGB randomcolor.RGBColor = randomcolor.GetRandomColorInRgb()
var colorInHSV randomcolor.HSVColor = randomcolor.GetRandomColorInHSV()
}
```