{"id":13567467,"url":"https://github.com/ali5ter/ansi-color","last_synced_at":"2026-01-10T19:57:09.569Z","repository":{"id":26700510,"uuid":"30157563","full_name":"ali5ter/ansi-color","owner":"ali5ter","description":"🎨 Bash ANSI color script migrated from https://code.google.com/p/ansi-color/","archived":false,"fork":false,"pushed_at":"2015-02-01T19:54:30.000Z","size":120,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-04T22:37:11.708Z","etag":null,"topics":["ansi-colors","ansi-escape-sequences","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"stefanprodan/swarmprom","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ali5ter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-01T19:53:01.000Z","updated_at":"2023-06-24T06:40:50.000Z","dependencies_parsed_at":"2022-07-08T10:43:15.867Z","dependency_job_id":null,"html_url":"https://github.com/ali5ter/ansi-color","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ali5ter%2Fansi-color","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ali5ter%2Fansi-color/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ali5ter%2Fansi-color/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ali5ter%2Fansi-color/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ali5ter","download_url":"https://codeload.github.com/ali5ter/ansi-color/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247107816,"owners_count":20884793,"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":["ansi-colors","ansi-escape-sequences","shell"],"created_at":"2024-08-01T13:02:32.197Z","updated_at":"2025-04-04T01:32:06.047Z","avatar_url":"https://github.com/ali5ter.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"Color is a simple bash shell script that makes it easy to color and format echo'd text.\n\nIt does this by converting combinations of readable arguments (bold, red, green, underline, etc.) into an [ANSI escape sequence](http://en.wikipedia.org/wiki/ANSI_escape_code) that your terminal emulator or console understands.\n\n## Usage\n\n**color** [ effect ] [ [ lt ] fgcolor ] [ bgcolor ]\n\n**color** list\n\n**color** [ -h | --help ]\n\nwhere:\n\n*fgcolor* and *bgcolor* are one of black, red, green, yellow, blue, magenta, cyan or white.\n\n*effect* can be any of [ nm | normal ], [ bd | bold ], [ ft | faint ], [ it | italic ], [ ul | underline ], [ bk | blink ], [ fb | fastblink ], [ rv | reverse ], [ iv | invisible ]\n\nPreceed the *fgcolor* with *lt* to use a light color -- the light or faint intensity effect is not commonly implemented within terminal emulators or consoles.\n\n**color off** or just **color** resets to default colors and text effects.\n\n**color --help** provides more detailed help and examples of usage.\n\n**color list** displays all possible color combinations.\n\n## Inspiration and credit\n\nThis script was quickly written after I lost the source for Moshe Jacobson's color command. Being compiled, his creation was much quicker but the binary was not portable across the platforms I used. I wrote this in shell script figuring that it would work across the widest selection of command lines.\n\nWhile the syntax is compatible with Moshe's command, I wanted to add the ability to use multiple text effects and colors in one invocation and add a few more ANSI escape sequences.\n\nMany thanks to Moshe Jacobson.\n\nAlso, a big thank you to Ian Lowe for his Debian/Ubuntu installer work.\n\n-alister\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fali5ter%2Fansi-color","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fali5ter%2Fansi-color","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fali5ter%2Fansi-color/lists"}