{"id":21690650,"url":"https://github.com/reiver/go-hexcolor","last_synced_at":"2025-03-20T12:57:15.787Z","repository":{"id":223993274,"uuid":"762109538","full_name":"reiver/go-hexcolor","owner":"reiver","description":"Package hexcolor provides tools for working with hex color codes, for the Go programming language. Hex Color Codes look like these: #1B2A34, 1E5AA8, #fd0304, and 00852b.","archived":false,"fork":false,"pushed_at":"2024-02-23T05:28:46.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T13:08:11.287Z","etag":null,"topics":["hex-code","hex-codes","hex-color","hex-color-code","hex-color-codes","hex-colors"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reiver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-23T05:20:50.000Z","updated_at":"2024-02-23T05:23:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f649364-672d-4c18-98ce-8e32c883b796","html_url":"https://github.com/reiver/go-hexcolor","commit_stats":null,"previous_names":["reiver/go-hexcolor"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-hexcolor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-hexcolor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-hexcolor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-hexcolor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reiver","download_url":"https://codeload.github.com/reiver/go-hexcolor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244618428,"owners_count":20482316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hex-code","hex-codes","hex-color","hex-color-code","hex-color-codes","hex-colors"],"created_at":"2024-11-25T17:32:47.820Z","updated_at":"2025-03-20T12:57:15.762Z","avatar_url":"https://github.com/reiver.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-hexcolor\n\nPackage **hexcolor** provides tools for working with **hex color codes**, for the Go programming language.\n\n**Hex Color Codes** look like these:\n\n* `#1B2A34`\n* `1E5AA8`\n* `#fd0304`\n* `00852b`\n\n## Documention\n\nOnline documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-hexcolor\n\n[![GoDoc](https://godoc.org/github.com/reiver/go-hexcolor?status.svg)](https://godoc.org/github.com/reiver/go-hexcolor)\n\n## Example\n\nHere is a simple example of parsing a hex color code:\n\n```golang\n\nvar hexcode string = \"#8A928D\"\n\nred, green, blue, err := hexcolor.Parse(hexcode)\n```\n\nAnd here is a simple example of creating a hex color code:\n\n```golang\nvar red   uint8 = 0xB4\nvar green uint8 = 0x00\nvar blue  uint8 = 0x00\n\ncode := hexcolor.Format(red, green, blue)\n```\n\n## Import\n\nTo import package **hexcolor** use `import` code like the follownig:\n```\nimport \"github.com/reiver/go-hexcolor\"\n```\n\n## Installation\n\nTo install package **hexcolor** do the following:\n```\nGOPROXY=direct go get https://github.com/reiver/go-hexcolor\n```\n\n## Author\n\nPackage **hexcolor** was written by [Charles Iliya Krempeaux](http://changelog.ca)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freiver%2Fgo-hexcolor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freiver%2Fgo-hexcolor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freiver%2Fgo-hexcolor/lists"}