{"id":19704340,"url":"https://github.com/tinymind/uicolor-hexrgb","last_synced_at":"2025-04-29T14:31:23.455Z","repository":{"id":26830909,"uuid":"30290153","full_name":"tinymind/UIColor-HexRGB","owner":"tinymind","description":"UIColor-HexRGB is easy drop in UIColor category that converts Hex and RGB values to UIColor.","archived":false,"fork":false,"pushed_at":"2018-02-06T17:51:37.000Z","size":73,"stargazers_count":12,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T16:05:16.306Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Objective-C","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/tinymind.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}},"created_at":"2015-02-04T08:59:17.000Z","updated_at":"2020-05-08T11:17:52.000Z","dependencies_parsed_at":"2022-08-31T12:11:26.707Z","dependency_job_id":null,"html_url":"https://github.com/tinymind/UIColor-HexRGB","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinymind%2FUIColor-HexRGB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinymind%2FUIColor-HexRGB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinymind%2FUIColor-HexRGB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinymind%2FUIColor-HexRGB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinymind","download_url":"https://codeload.github.com/tinymind/UIColor-HexRGB/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251519032,"owners_count":21602253,"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-11-11T21:22:03.695Z","updated_at":"2025-04-29T14:31:18.437Z","avatar_url":"https://github.com/tinymind.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UIColor-HexRGB\nUIColor category that converts Hex and RGB color string values to UIColor.\n\n## Supports color formats\n\n- Hex string\n\t- fff (short, without #)\n\t- #fff (short, with #)\n\t- 00ff00 (long, without #)\n\t- #00ff00 (long, with #)\n- RGB(A) string\n\t- 99,159,137 (without alpha)\n\t- 99,159,137,0.5 (with alpha)\n- Hex integer\n\t- 0x00ff00\n\n## Installation\n\n- Add `UIColor+HexRGB.h` and `UIColor+HexRGB.h` to your project. \n- Or use CocoaPods: `pod 'UIColor-HexRGB'`.\n\n## Requirements\n\nRequires iOS 4.3 and above.\n\n## Usage\n\n``` cpp\n\n  #import \"UIColor+HexRGB.h\"\n\n  - (void)viewDidLoad {\n  \n    [super viewDidLoad];\n      \n    self.label1.backgroundColor = [UIColor colorWithHex: @\"2eeea3\"];  \n  \n    self.label2.backgroundColor = [UIColor colorWithHex: @\"#fd482f\"];  \n\n    self.label3.backgroundColor = [UIColor colorWithRGB: @\"99,159,137\"];  \n  \n    self.label4.backgroundColor = [UIColor colorWithRGBA: @\"137,99,59,0.5\"];  \n\n    self.label5.backgroundColor = [UIColor colorWithHex: @\"0f0\"];  \n    \n    self.label6.backgroundColor = [UIColor colorWithHexNum: 0xfd482f alpha: 0.5];  \n  }\n  \n```\n\n## Example\n\n![Example](https://github.com/tinymind/UIColor-HexRGB/raw/master/example.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinymind%2Fuicolor-hexrgb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinymind%2Fuicolor-hexrgb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinymind%2Fuicolor-hexrgb/lists"}