Color your words! Similar words have Similar color.
Go 1.2 or above.
$ go get github.com/lichunqiang/wordcolor.go
import "github.com/lichunqiang/wordcolor.go"
func main () {
println(wordcolor.WordColor("Hello world")) //rgb(255, 56, 13)
}
- word-color - javascript version, which is the original fork
- wordcolor.php - PHP version
MIT