{"id":15491511,"url":"https://github.com/tcodes0/hue-bash-colors","last_synced_at":"2025-07-17T07:34:59.115Z","repository":{"id":71830818,"uuid":"132503156","full_name":"tcodes0/hue-bash-colors","owner":"tcodes0","description":"Easy, readable color management","archived":false,"fork":false,"pushed_at":"2018-12-02T20:31:28.000Z","size":12,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-14T00:51:48.545Z","etag":null,"topics":["ansi","ansi-colors","bash","cli","color","terminal","xterm-256color"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tcodes0.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,"zenodo":null}},"created_at":"2018-05-07T18:50:01.000Z","updated_at":"2021-06-09T11:37:34.000Z","dependencies_parsed_at":"2023-07-08T19:16:02.613Z","dependency_job_id":null,"html_url":"https://github.com/tcodes0/hue-bash-colors","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tcodes0/hue-bash-colors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcodes0%2Fhue-bash-colors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcodes0%2Fhue-bash-colors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcodes0%2Fhue-bash-colors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcodes0%2Fhue-bash-colors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tcodes0","download_url":"https://codeload.github.com/tcodes0/hue-bash-colors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcodes0%2Fhue-bash-colors/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265577800,"owners_count":23791229,"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","ansi-colors","bash","cli","color","terminal","xterm-256color"],"created_at":"2024-10-02T07:54:08.485Z","updated_at":"2025-07-17T07:34:59.110Z","avatar_url":"https://github.com/tcodes0.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hue\n\n![help.png](https://user-images.githubusercontent.com/15015324/39720286-36d27e48-5212-11e8-9c53-9cbbe19fef5a.png)\n## Use Hue like echo\n\n**To view the above message use -h or --help:**\n\n    $ hue.sh -h\n\n**Classic ANSI colors have switches with their names:**\n\n    $ hue.sh --teal will show in teal\n\n**They all have a *light-* variant:**\n\n    $ hue.sh --light-teal will show in light teal\n\n--default will probably be a light tone on a dark background terminal, and a black tone in a white themed one.\n--white will always show white, just like --black will show black.\nDon't ask me what light-white means, though\n\nWhen using --bold the color becomes the light- version automatically.\n\n**256color is available using **--hue=**_color\\_code_:**\n\n    $ hue.sh --hue=79 a blend of teal and green perhaps?\n    $ hue.sh --hue=53 reminds me of grapes\n\n**Add styles using switches too:**\n\n    $ hue.sh --bold Important text.\n    $ hue.sh --underline remember this.\n\nView the complete list of styles and ANSI color switches using `$ hue.sh -h`\n\n**Add backgrounds using **--bg=**_ANSI\\_color_:**\n\n    $ hue.sh --bg=pink a pink box with text\n\n**256color backgrounds need the --swap switch:**\n\n    $ hue.sh --hue=172 --swap will show in a dark orange background\n\n**256color background with ANSI text color:**\n\n    $ hue.sh --hue=172 --swap --bg=teal same as above, with teal text\n\n--swap exchanges foreground and background color, try it!\n\n\n**To view all 256color codes use:**\n\n    $ hue.sh --view=256\n\n![256.png](https://user-images.githubusercontent.com/15015324/39611277-ff7aa6ec-4f2c-11e8-90c2-5b86acdeae23.png)\n\n**To view all ANSI colors:**\n\n    $ hue.sh --view=ansi\n\n![ansi.png](https://user-images.githubusercontent.com/15015324/39611278-ff9eeb9c-4f2c-11e8-8ac9-59724624c0a0.png)\n\n\n## Other things it does\n\n**Output internal code, for your reuse:**\n\n    $ hue.sh --hue=99 --swap --underline --code\n    \u003c printf \"\\033[4;7;38;05;99m\\033[0m\"\n\n**Suppress newline printing:**\n\n    $ hue.sh -n\n    $ hue.sh --newline\n\n**Classic ANSI color dump:**\n\n    $ hue.sh --palette\n\nAll combinations of ANSI colors, backgrounds and styles. _Warning: long output!_\n\n**The help message is there to help:**\n\n    $ hue.sh -h\n\n\n## Installation\n\nDownload or clone the repo, then put hue.sh in your `$HOME/bin/` directory (or whatever directory you use for bash scripts)\n\n\n## A note from me\n\nI wrote this for my own use to make coloring the terminal easier (to do, remember and read).\nI like the --code switch specially.\n\n#### _Make the shell work for you!_","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcodes0%2Fhue-bash-colors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftcodes0%2Fhue-bash-colors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcodes0%2Fhue-bash-colors/lists"}