diff --git a/.goxc.json b/.goxc.json index 2603312..70478d5 100644 --- a/.goxc.json +++ b/.goxc.json @@ -16,7 +16,7 @@ ], "BuildConstraints": "!plan9,!netbsd,!openbsd,!dragonfly,!solaris,!nacl", "MainDirsExclude": "vendor", - "PackageVersion": "0.3.5", + "PackageVersion": "0.3.6", "TaskSettings": { "publish-github": { "body": "", diff --git a/README.md b/README.md index 54558fe..f6c710e 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ type of device you will interact with. ```go const ( // VERSION of this library - VERSION = "0.3.5" + VERSION = "0.3.6" ) ``` @@ -337,6 +337,13 @@ is represented as a 48-bit HSB (Hue, Saturation, Brightness) value. The color temperature is represented in K (Kelvin) and is used to adjust the warmness / coolness of a white light, which is most obvious when saturation is close zero. +#### func AverageColor + +```go +func AverageColor(colors ...Color) (color Color) +``` +AverageColor returns the average of the provided colors + #### type Device ```go diff --git a/golifx.go b/golifx.go index adce349..0112dc2 100644 --- a/golifx.go +++ b/golifx.go @@ -25,7 +25,7 @@ import ( const ( // VERSION of this library - VERSION = "0.3.5" + VERSION = "0.3.6" ) // NewClient returns a pointer to a new Client and any error that occurred