Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 main

import (
"github.com/AvraamMavridis/randomcolor"
)

func main() {
var colorInHex string = randomcolor.GetRandomColorInHex()
var colorInRGB randomcolor.RGBColor = randomcolor.GetRandomColorInRgb()
var colorInHSV randomcolor.HSVColor = randomcolor.GetRandomColorInHSV()
}
```