{"id":18084113,"url":"https://github.com/trflorian/godot-random-colors","last_synced_at":"2026-02-03T11:34:07.639Z","repository":{"id":259698834,"uuid":"879228548","full_name":"trflorian/godot-random-colors","owner":"trflorian","description":"Generate random colors from RGB and HSV color space","archived":false,"fork":false,"pushed_at":"2024-10-27T11:13:36.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T15:12:44.095Z","etag":null,"topics":["chicken","color","gamedev","godot"],"latest_commit_sha":null,"homepage":"https://medium.com/@flip.flo.dev/better-random-colors-in-godot-9a656468f55e","language":"GDScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trflorian.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-27T11:07:27.000Z","updated_at":"2024-10-27T12:45:13.000Z","dependencies_parsed_at":"2024-10-27T12:58:34.852Z","dependency_job_id":"31ff4651-73cb-4636-9450-95adb6da57d2","html_url":"https://github.com/trflorian/godot-random-colors","commit_stats":null,"previous_names":["trflorian/godot-random-colors"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trflorian/godot-random-colors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trflorian%2Fgodot-random-colors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trflorian%2Fgodot-random-colors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trflorian%2Fgodot-random-colors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trflorian%2Fgodot-random-colors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trflorian","download_url":"https://codeload.github.com/trflorian/godot-random-colors/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trflorian%2Fgodot-random-colors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29044381,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T10:09:22.136Z","status":"ssl_error","status_checked_at":"2026-02-03T10:09:16.814Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["chicken","color","gamedev","godot"],"created_at":"2024-10-31T15:05:45.699Z","updated_at":"2026-02-03T11:34:07.615Z","avatar_url":"https://github.com/trflorian.png","language":"GDScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Random Colors in Godot\n\n## Random Colors from RGB\n\nA simple way to generate random colors in Godot is using random red, green and blue values.\n\n```\nfunc _generate_random_rgb_color() -\u003e Color:\n\treturn Color(\n\t\trandf(), # RED\n\t\trandf(), # GREEN\n\t\trandf(), # BLUE\n\t)\n```\n\n![image](https://github.com/user-attachments/assets/8934111b-83d6-44ae-a3ed-193a5978832e)\n\n\n## Random Colors from HSV\n\nUsing the HSV color space, you have more fine-grained control over the color. The hue, saturation and value can be controlled independently.\n\n```\nfunc _generate_random_hsv_color() -\u003e Color:\n\treturn Color.from_hsv(\n\t\trandf_range(0.25, 0.45), # HUE\n\t\trandf_range(0.2, 0.6), # SATURATION\n\t\trandf_range(0.9, 1.0), # BRIGHTNESS\n\t)\n```\n\n![image](https://github.com/user-attachments/assets/610a97d7-8368-4f97-bb03-f3f0f4600ea3)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrflorian%2Fgodot-random-colors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrflorian%2Fgodot-random-colors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrflorian%2Fgodot-random-colors/lists"}