{"id":907,"url":"https://github.com/boycechang/BCColor","last_synced_at":"2025-07-30T19:33:02.840Z","repository":{"id":56902755,"uuid":"54402825","full_name":"boycechang/BCColor","owner":"boycechang","description":"A Lightweight But Powerful Color Kit (Swift)","archived":false,"fork":false,"pushed_at":"2017-04-17T10:03:31.000Z","size":2436,"stargazers_count":418,"open_issues_count":0,"forks_count":20,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-11-28T10:45:13.639Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","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/boycechang.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":"2016-03-21T15:57:53.000Z","updated_at":"2024-11-19T01:06:03.000Z","dependencies_parsed_at":"2022-08-20T18:50:34.696Z","dependency_job_id":null,"html_url":"https://github.com/boycechang/BCColor","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boycechang%2FBCColor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boycechang%2FBCColor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boycechang%2FBCColor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boycechang%2FBCColor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boycechang","download_url":"https://codeload.github.com/boycechang/BCColor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228179014,"owners_count":17881123,"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-01-05T20:15:34.373Z","updated_at":"2024-12-04T19:32:23.130Z","avatar_url":"https://github.com/boycechang.png","language":"Swift","funding_links":[],"categories":["Color","Swift"],"sub_categories":["Linter","Other free courses"],"readme":"![BCColor](https://github.com/boycechang/BCColor/blob/master/icon.png)\n\n# BCColor    [![Build Status](https://travis-ci.org/boycechang/BCColor.svg?branch=master)](https://travis-ci.org/boycechang/BCColor)  ![Verison](https://cocoapod-badges.herokuapp.com/v/BCColor/badge.png) ![Lisence](https://cocoapod-badges.herokuapp.com/l/BCColor/badge.(png|svg)) ![platform](https://cocoapod-badges.herokuapp.com/p/BCColor/badge.png)\n**A lightweight but powerful color kit (Swift)**\n\n\n\n## Features\n\n- Pick Colors From Image\n\n- Generate Monochrome Image\n\n- Support Hex Color Style\n\n- Lighten / Darken Any Color\n\n- Generate Two Different Styles of Gradient Color\n\n  ​\n\n  ![BCColor](https://github.com/boycechang/BCColor/blob/master/demo1.jpeg)\n\n  ![BCColor](https://github.com/boycechang/BCColor/blob/master/demo2.jpeg)\n\n  ![BCColor](https://github.com/boycechang/BCColor/blob/master/demo3.jpeg)\n\n  ​\n\n  ​\n\n\n\n## Installation\n\n#### Requirements\n\n* ARC only; iOS 8.0+\n\n  ​\n\n#### Get it as: \n##### 1) source files\n\n1. Download the BCColor repository as a zip file or clone it\n2. Copy the BCColor files into your Xcode project\n\n##### 2) via Cocoa pods\n\nBCColor is available on [CocoaPods](http://cocoapods.org). Just add the following to your project Podfile:\n\n```ruby\npod 'BCColor'\n```\n\nIf you want to read more about CocoaPods, have a look at [this short tutorial](http://www.raywenderlich.com/12139/introduction-to-cocoapods).\n\n\n\n## Basic Usage\n\n```swift\n// Pick Colors From Image\nlet colors = image?.getColors()\n\n// Generate Momochrome Image\nlet monochromeImage = image?.monochrome()\n\n// Hex Color\nUIColor.colorWithHex(\"#5d13e2\", alpha: 1)\n\n// Gradient Color\nUIColor.gradientColor(CGPointMake(0.0, 0.0), endPoint: CGPointMake(1.0, 1.0), frame:frame, colors: [UIColor.redColor(), UIColor.blueColor()])\n\nUIColor.radialGradientColor(frame, colors: [UIColor.blueColor(), UIColor.greenColor()])\n```\n\n\n\n## Misc\n\nAuthor: [Boyce Chang](http://www.boycechang.com)\n\nIf you like BCColor and use it, could you please:\n\n* star this repo \n* send me some feedback. Thanks!\n\n\n#### License\nThis code is distributed under the terms and conditions of the MIT license. \n\n\n#### Contribution guidelines\nIf you are fixing a bug you discovered, please add also a unit test so I know how exactly to reproduce the bug before merging.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboycechang%2FBCColor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboycechang%2FBCColor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboycechang%2FBCColor/lists"}