BCColor alternatives and similar libraries
Based on the "Color" category.
Alternatively, view BCColor alternatives based on common mentions on social networks and blogs.
-
Chameleon
DISCONTINUED. Color framework for Swift & Objective-C (Gradient colors, hexcode support, colors from images & more). -
Colours
A beautiful set of predefined colors and a set of color methods to make your iOS/OSX development life easier. -
Gestalt
An unintrusive & light-weight iOS app-theming library with support for animated theme switching. -
PrettyColors
Styles and colors text in the Terminal with ANSI escape codes. Conforms to ECMA Standard 48. -
SwiftColorGen
DISCONTINUED. A tool that generate code for Swift projects, designed to improve the maintainability of UIColors -
Colorify
DISCONTINUED. Simple, yet powerful color library that includes latest and most trendy colors from 2017.
WorkOS - The modern identity platform for B2B SaaS
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of BCColor or a related project?
README
BCColor
A lightweight but powerful color kit (Swift)
Features
Pick Colors From Image
Generate Monochrome Image
Support Hex Color Style
Lighten / Darken Any Color
Generate Two Different Styles of Gradient Color
Installation
Requirements
- ARC only; iOS 8.0+
Get it as:
1) source files
- Download the BCColor repository as a zip file or clone it
- Copy the BCColor files into your Xcode project
2) via Cocoa pods
BCColor is available on CocoaPods. Just add the following to your project Podfile:
pod 'BCColor'
If you want to read more about CocoaPods, have a look at this short tutorial.
Basic Usage
// Pick Colors From Image
let colors = image?.getColors()
// Generate Momochrome Image
let monochromeImage = image?.monochrome()
// Hex Color
UIColor.colorWithHex("#5d13e2", alpha: 1)
// Gradient Color
UIColor.gradientColor(CGPointMake(0.0, 0.0), endPoint: CGPointMake(1.0, 1.0), frame:frame, colors: [UIColor.redColor(), UIColor.blueColor()])
UIColor.radialGradientColor(frame, colors: [UIColor.blueColor(), UIColor.greenColor()])
Misc
Author: Boyce Chang
If you like BCColor and use it, could you please:
- star this repo
- send me some feedback. Thanks!
License
This code is distributed under the terms and conditions of the MIT license.
Contribution guidelines
If you are fixing a bug you discovered, please add also a unit test so I know how exactly to reproduce the bug before merging.
*Note that all licence references and agreements mentioned in the BCColor README section above
are relevant to that project's source code only.