Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jyotiska/Go-webcolors

Port of webcolors library from Python to Go
https://github.com/jyotiska/Go-webcolors

Last synced: 20 days ago
JSON representation

Port of webcolors library from Python to Go

Awesome Lists containing this project

README

        

### go-webcolors

A library for working with color names and color value formats defined by the HTML and CSS specifications for use in documents on the Web.

go-webcolors is available on the [Godoc]

This library is originally available in Python by James Bennett, [PyPI] and [Bitbucket]. go-webcolors have been ported from Python to Go with all the functions available. Contributions in the form of patches, issue reports, bug reports and pull requests are welcome.

Support is included for the following formats:

- Specification-defined color names
- Six-digit hexadecimal
- Three-digit hexadecimal
- Integer rgb triplet
- Percentage rgb triplet

[PyPI]: https://pypi.python.org/pypi/webcolors/1.4
[Bitbucket]: http://www.bitbucket.org/ubernostrum/webcolors/overview/
[Godoc]: http://godoc.org/github.com/jyotiska/go-webcolors