{"id":19391172,"url":"https://github.com/amulyakashyap09/colors","last_synced_at":"2026-03-11T22:02:29.634Z","repository":{"id":57519639,"uuid":"139136417","full_name":"amulyakashyap09/colors","owner":"amulyakashyap09","description":"A small golang utility to print colorful ouput on terminal","archived":false,"fork":false,"pushed_at":"2018-07-14T07:46:25.000Z","size":9,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-15T13:57:01.608Z","etag":null,"topics":["blue","chalk","color","color-cli","color-picker","color-scheme","colors","golang","golang-library","golang-package","golang-utility","green","red"],"latest_commit_sha":null,"homepage":null,"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/amulyakashyap09.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}},"created_at":"2018-06-29T10:29:40.000Z","updated_at":"2023-12-19T06:40:49.000Z","dependencies_parsed_at":"2022-08-29T23:41:23.956Z","dependency_job_id":null,"html_url":"https://github.com/amulyakashyap09/colors","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amulyakashyap09/colors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amulyakashyap09%2Fcolors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amulyakashyap09%2Fcolors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amulyakashyap09%2Fcolors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amulyakashyap09%2Fcolors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amulyakashyap09","download_url":"https://codeload.github.com/amulyakashyap09/colors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amulyakashyap09%2Fcolors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30404097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T21:51:19.558Z","status":"ssl_error","status_checked_at":"2026-03-11T21:50:57.892Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["blue","chalk","color","color-cli","color-picker","color-scheme","colors","golang","golang-library","golang-package","golang-utility","green","red"],"created_at":"2024-11-10T10:25:16.577Z","updated_at":"2026-03-11T22:02:29.609Z","avatar_url":"https://github.com/amulyakashyap09.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Colors\n\u003e A small golang utility to print colorful output on terminal\n\n## Installation\n```\ngo get -u github.com/amulyakashyap09/colors\n\nimport color \"github.com/amulyakashyap09/colors\"\n```\n\n## Usage\n\n```\nvar message string = \"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit...\"\n\n#bgColor, fgColor, message\ncolor.Custom(\"black\", \"yellow\", message)\n\n```\n\n## Documentation\n\n`color.Custom(bgColor, fgColor, message)`   |   `color.Custom` will print the `message` in colors provided as input\n\n`color.Error(message)` | `color.Error` will print the `error` in red \u0026 bold\n\n`color.Panic(message)` | `color.Panic` will print the `error` in red \u0026 bold \u0026 will **exit** the process\n\n`color.Success(message)` | `color.Success` will print the `message` in green\n\n`color.Info(message)` | `color.Info` will print the `message` in blue\n\n`color.Warn(message)` | `color.Warn` will print the `message` in yellow\n\n`color.Yellow(message)` | `color.Yellow` will print the `message` in yellow\n\n`color.Blue(message)` | `color.Blue` will print the `message` in blue\n\n`color.Green(message)` | `color.Green` will print the `message` in green\n\n`color.Red(message)` | `color.Red` will print the `message` in red\n\n`color.Magenta(message)` | `color.Magenta` will print the `message` in magenta\n\n`color.Cyan(message)` | `color.Cyan` will print the `message` in cyan\n\n`color.White(message)` | `color.White` will print the `message` in white\n\n`color.Black(message)` | `color.Black` will print the `message` in black\n\n## Author\n```\nAmulya Kashyap\namulyakasyap09@gmail.com\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famulyakashyap09%2Fcolors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famulyakashyap09%2Fcolors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famulyakashyap09%2Fcolors/lists"}