{"id":13509288,"url":"https://github.com/Joe-noh/colorful","last_synced_at":"2025-03-30T13:31:54.719Z","repository":{"id":18616704,"uuid":"21822281","full_name":"Joe-noh/colorful","owner":"Joe-noh","description":"colorful is justice","archived":false,"fork":false,"pushed_at":"2015-02-08T02:32:00.000Z","size":368,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T12:46:05.178Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/colorful","language":"Elixir","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/Joe-noh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-14T14:21:57.000Z","updated_at":"2015-07-12T07:40:20.000Z","dependencies_parsed_at":"2022-09-26T21:50:55.422Z","dependency_job_id":null,"html_url":"https://github.com/Joe-noh/colorful","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joe-noh%2Fcolorful","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joe-noh%2Fcolorful/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joe-noh%2Fcolorful/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joe-noh%2Fcolorful/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Joe-noh","download_url":"https://codeload.github.com/Joe-noh/colorful/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246323947,"owners_count":20759054,"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":[],"created_at":"2024-08-01T02:01:05.729Z","updated_at":"2025-03-30T13:31:54.073Z","avatar_url":"https://github.com/Joe-noh.png","language":"Elixir","funding_links":[],"categories":["Text and Numbers"],"sub_categories":[],"readme":"# Colorful\n\n## `Colorful`\n\n```elixir\nColorful.string(\"hello\", \"red underline\")    #=\u003e \"\\e[0m\\e[31m\\e[4mhello\\e[0m\"\nColorful.string(\"hello\", [\"red\", \"bright\"])  #=\u003e \"\\e[0m\\e[31m\\e[1mhello\\e[0m\"\nColorful.string(\"hello\", [:red, :bright])    #=\u003e \"\\e[0m\\e[31m\\e[1mhello\\e[0m\"\n\nColorful.string(\"orange\", {5, 2, 1})\nColorful.string(\"underlined orange\", [:underline, {5, 2, 1}])\n\nColorful.string(\"hello\")   #=\u003e \"\\e[0mhello\\e[0m\"\n\nColorful.puts(\"hello\", \"red\")\nColorful.inspect([1, 2], \"blue white_background\")  # This returns [1, 2] like IO.inspect\n\nColorful.puts(:stderr, \"hello\", \"red\")\n```\n\n## `Colorful.Color`\n\n```elixir\nColorful.Color.from_name \"air_force_blue\"\n#=\u003e %Colorful.Color{blue: 168, brightness: 51.2, code: \"#5d8aa8\", green: 138,\n#                   hue: 204.0, name: \"air_force_blue\", red: 93, saturation: 30.1}\n\nColorful.Color.from_name(\"blue\") = Colorful.Color.from_name(:blue)\n\nColorful.Color.names\n# =\u003e [\"air_force_blue\", \"alice_blue\", \"alizarin_crimson\", ... ]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJoe-noh%2Fcolorful","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJoe-noh%2Fcolorful","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJoe-noh%2Fcolorful/lists"}