{"id":21495776,"url":"https://github.com/tylersamples/random_color","last_synced_at":"2025-10-16T04:39:06.487Z","repository":{"id":57539681,"uuid":"364134774","full_name":"tylersamples/random_color","owner":"tylersamples","description":"Utility for generating random colors in Elixir","archived":false,"fork":false,"pushed_at":"2021-05-08T05:33:04.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T01:06:48.154Z","etag":null,"topics":["elixir","randomcolor"],"latest_commit_sha":null,"homepage":"","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/tylersamples.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":"2021-05-04T04:05:03.000Z","updated_at":"2021-12-25T13:12:01.000Z","dependencies_parsed_at":"2022-09-26T18:31:50.709Z","dependency_job_id":null,"html_url":"https://github.com/tylersamples/random_color","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tylersamples/random_color","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylersamples%2Frandom_color","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylersamples%2Frandom_color/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylersamples%2Frandom_color/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylersamples%2Frandom_color/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tylersamples","download_url":"https://codeload.github.com/tylersamples/random_color/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylersamples%2Frandom_color/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004825,"owners_count":26083784,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["elixir","randomcolor"],"created_at":"2024-11-23T16:13:22.203Z","updated_at":"2025-10-16T04:39:06.460Z","avatar_url":"https://github.com/tylersamples.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RandomColor\n\n\u003c!-- MDOC !--\u003e\n\nElixir port of [davidmerfield/randomColor](https://github.com/davidmerfield/randomColor)\n\n## Installation\n\nThe package can be installed\nby adding `random_color` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:random_color, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\n## Basic Usage\n\n```elixir\nRandomColor.hex() # #13B592\n\nRandomColor.rgb() # {189, 81, 542}\nRandomColor.rgb(format: :string) # rgb(189, 81, 542)\n\nRandomColor.hex(hue: :red) # #9B112C\nRandomColor.hex(hue: :red, luminosity: :light) # #FFB2CA\n\nRandomColor.hsla([], 0.5) # hsla(117, 65.29%, 48.4%, 0.5)\n```\n\n\u003c!-- MDOC !--\u003e\n\nThe docs can\nbe found at [https://hexdocs.pm/random_color](https://hexdocs.pm/random_color).\n\n## License\n\n[MIT](./LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylersamples%2Frandom_color","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftylersamples%2Frandom_color","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylersamples%2Frandom_color/lists"}