{"id":19847025,"url":"https://github.com/polidea/plcolors","last_synced_at":"2025-05-01T21:31:42.414Z","repository":{"id":25800832,"uuid":"29239649","full_name":"Polidea/PLColors","owner":"Polidea","description":"Objective-C library to create UIColor/NSColor objects based on the HEX color representation.","archived":false,"fork":false,"pushed_at":"2016-08-03T13:58:42.000Z","size":323,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-11-10T22:49:44.837Z","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/Polidea.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":"2015-01-14T10:41:13.000Z","updated_at":"2018-09-11T20:49:17.000Z","dependencies_parsed_at":"2022-08-24T14:14:45.766Z","dependency_job_id":null,"html_url":"https://github.com/Polidea/PLColors","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/Polidea%2FPLColors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polidea%2FPLColors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polidea%2FPLColors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Polidea%2FPLColors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Polidea","download_url":"https://codeload.github.com/Polidea/PLColors/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224278377,"owners_count":17285080,"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-12T13:13:15.199Z","updated_at":"2024-11-12T13:13:15.947Z","avatar_url":"https://github.com/Polidea.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\n\nThis library is deprecated in favor of [PLXColors](https://github.com/Polidea/PLXColors)\n\n---\n\n# PLColors\n\n[![CI Status](http://img.shields.io/travis/Polidea/PLColors.svg?style=flat)](https://travis-ci.org/Polidea/PLColors)\n[![Version](https://img.shields.io/cocoapods/v/PLColors.svg?style=flat)](http://cocoadocs.org/docsets/PLColors)\n[![License](https://img.shields.io/cocoapods/l/PLColors.svg?style=flat)](http://cocoadocs.org/docsets/PLColors)\n[![Platform](https://img.shields.io/cocoapods/p/PLColors.svg?style=flat)](http://cocoadocs.org/docsets/PLColors)\n\nPLColors is a small library that allows you to create UIColor or NSColor objects based on the hexadecimal representation of the \ncolors, similar to that used in HTML and CSS languages. UIKit/AppKit allows you to create UIColor/NSColor objects only with floating \npoint numbers which is inconvenient when you get these values from graphics programs.\n\n## Usage\n\nTo run the example project, clone the repo, and run `pod install` from the Example directory first.\n\n### Methods\n\nPLColors provides four methods to create UIColor or NSColor objects:\n\n```objc\n+ (PLColor *)colorWithHexString:(NSString *)hexString;\n+ (PLColor *)colorWithHexStringWithAlpha:(NSString *)hexString;\n+ (PLColor *)colorWithHexInteger:(NSUInteger)value;\n+ (PLColor *)colorWithHexIntegerWithAlpha:(NSUInteger)value;\n```\n\nwhere PLColor is UIColor or NSColor class depends on target platform.\n\nSee the code or [Documentation](http://cocoadocs.org/docsets/PLColors) to check in which format should be parameters.\n\n## Requirements\n\n- iOS6 or OS X 10.8\n\n## Installation\n\nPLColors is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n    pod \"PLColors\"\n\n## Author\n\nMichał Laskowski, michal.laskowski@polidea.com\n\n## License\n\nPLColors is available under the MIT license. See the LICENSE file for more info.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolidea%2Fplcolors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolidea%2Fplcolors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolidea%2Fplcolors/lists"}