{"id":20947283,"url":"https://github.com/webtechmoz/rgb2hex","last_synced_at":"2026-02-02T10:06:32.478Z","repository":{"id":259185056,"uuid":"876718816","full_name":"webtechmoz/rgb2hex","owner":"webtechmoz","description":"Biblioteca para conversão de cores entre rgb e hexadecimal","archived":false,"fork":false,"pushed_at":"2024-10-22T12:54:38.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-02T16:46:37.748Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/webtechmoz.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-22T12:52:30.000Z","updated_at":"2024-10-22T12:54:42.000Z","dependencies_parsed_at":"2024-10-23T10:19:40.154Z","dependency_job_id":null,"html_url":"https://github.com/webtechmoz/rgb2hex","commit_stats":null,"previous_names":["webtechmoz/rgb2hex"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webtechmoz/rgb2hex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webtechmoz%2Frgb2hex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webtechmoz%2Frgb2hex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webtechmoz%2Frgb2hex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webtechmoz%2Frgb2hex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webtechmoz","download_url":"https://codeload.github.com/webtechmoz/rgb2hex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webtechmoz%2Frgb2hex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29009697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T08:40:12.472Z","status":"ssl_error","status_checked_at":"2026-02-02T08:40:10.926Z","response_time":58,"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":[],"created_at":"2024-11-19T00:10:37.401Z","updated_at":"2026-02-02T10:06:32.462Z","avatar_url":"https://github.com/webtechmoz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RGB2HEX\n\nA simple Python library for converting between Hexadecimal and RGB color formats.\n\nFeatures\n- Convert Hex color codes to RGB format.\n- Convert RGB format back to Hex color codes.\n\n## Installation\n\nTo install the library via pip:\n\n```bash\npip install rgb2hex\n```\n\n## Convert Hex to RGB\n\nYou can convert a hexadecimal color code to an RGB tuple like this:\n\n```python\nfrom rgb2hex import hex2rgb\n\n# Example usage\nhex_code = \"#ff5733\"\nrgb = hex2rgb(hex_code)\nprint(rgb)  # Output: (255, 87, 51)\n```\n\n## Convert RGB to Hex\nYou can convert an RGB list to a hexadecimal color code:\n\n```python\nfrom rgb2hex import rgb2hex\n\n# Example usage\nrgb = [255, 87, 51]\nhex_code = rgb2hex(rgb)\nprint(hex_code)  # Output: #ff5733\n```\n\n## Contributing\nFeel free to open issues or submit pull requests if you'd like to contribute.\n\n## License\nThis project is licensed under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebtechmoz%2Frgb2hex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebtechmoz%2Frgb2hex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebtechmoz%2Frgb2hex/lists"}