A library providing predefined colors and color manipulation methods for iOS and macOS development.
Colours is a library for iOS and macOS development that provides a large set of predefined, named colors and a comprehensive suite of color manipulation methods. It solves the problem of tedious color specification and conversion by offering easy access to a curated palette and tools for color space transformations, adjustments, and scheme generation.
iOS and macOS developers building user interfaces who need consistent, accessible colors and advanced color handling beyond Apple's default system colors.
Developers choose Colours for its extensive ready-to-use color palette, intuitive API that mirrors Apple's design patterns, and robust color manipulation features that eliminate manual calculations for conversions, adjustments, and perceptual comparisons.
A beautiful set of predefined colors and a set of color methods to make your iOS/OSX development life easier.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Offers over 100 beautifully named colors like indigoColor and seafoamColor, making UI design more intuitive without manual color picking, as shown in the comprehensive color table.
Supports conversions between hex strings, RGBA, HSBA, CIELAB, and CMYK with simple methods like colorFromHexString: and hexString, eliminating complex calculations.
Includes utilities to lighten, darken, find complementary colors, and generate contrasting text colors automatically, such as blackOrWhiteContrastingColor for accessibility.
Measures color differences using CIELAB and CIE94/2000 standards with methods like distanceFromColor:type:, providing accurate perceptual comparisons for design consistency.
The Swift version lacks key features from the Objective-C version, including color components dictionary, sorting/comparing colors, and distance calculations, as admitted in the README.
Colors are predefined and static, not automatically adapting to system dark/light mode, requiring manual management for dynamic themes compared to Apple's asset catalogs.
Relies on Travis CI for builds, which is deprecated, and the README shows no recent updates or SwiftUI compatibility, suggesting potential maintenance issues.