Commit Graph

63 Commits

Author SHA1 Message Date
Vincent Esche 3997359fc1 Add support for grayscale modes 2020-01-13 17:51:36 +01:00
Vincent Esche 04f7891d8c Fix `final func toRGBAComponents()` on macOS for non-RGB colors 2020-01-13 17:34:17 +01:00
Yannick Jérôme Loriot 5b74f7d281 Fix the access modifier 2019-12-24 14:53:41 +01:00
Yannick Jérôme Loriot b310ab1d6b Add basic SwiftUI color support 2019-12-24 14:27:31 +01:00
Yannick Loriot a859fc170d Add decimal information to constants #51 2019-09-15 18:19:39 +01:00
Yannick Loriot 0dfcf55012 Add the toRGBA and toABGR methods #50 2019-09-15 18:06:51 +01:00
Yannick Loriot 79048e2f8e Fix the mathematical operator precedence overload #51 2019-09-14 22:01:33 +01:00
Yannick Loriot 9070b3a7de Fix Xcode 10.2 warnings 2019-05-27 18:56:12 +02:00
Yannick Loriot 25dd7059b5 Merge conflict 2018-08-21 12:54:50 +02:00
Yannick Loriot 8b3e06c00f Updating the test cases 2018-08-21 12:52:07 +02:00
Paulo Cesar Ferreira cf9478bbc2 Fixes crash on iPhone 5 2017-12-05 16:52:39 +01:00
Paulo Cesar Ferreira 8af423e8bf Making suggested changes 2017-11-16 12:29:12 +01:00
Paulo Cesar Ferreira 9fed645d0b Fixes a crash when UIColor returns a color component with negative value 2017-11-16 12:12:26 +01:00
Yannick Loriot f8d19be2ce Updating the Swiftlint config 2017-11-08 12:46:41 +01:00
Yannick Loriot dfc638c08b Fixing tests 2017-11-08 10:20:39 +01:00
Yannick Loriot f4088ed397 Xcode9 support #39 2017-11-07 22:11:03 +01:00
Yannick Loriot 6ad45a420b Bump version 2017-04-15 22:00:01 +02:00
Yannick Loriot 8ab08452ae Support the alpha channel #34 2017-04-14 21:44:49 +02:00
Yannick Loriot 2cfd55f7f5 Cleaning project 2017-04-13 11:46:27 +02:00
David Hart 69a7ed3dca fix spaces 2017-03-09 11:27:47 +01:00
David Hart 4f73d508d5 fix imprecision when outputing hex values 2017-03-09 11:26:16 +01:00
Yannick Loriot cb8502f889 [FIX] mixed method with the alpha channel 2016-12-15 12:32:54 +01:00
Julien Quéré e4fea6a082 Update SwiftLint config and autocorrect
Switching "statement_mode" to "uncuddled_else »
2016-11-30 16:32:09 +01:00
Julien Quéré 888e7dca01 Manual swift lint fixes 2016-11-28 13:58:32 +01:00
Julien Quéré 629d420a27 SwiftLint autocorrect on ./Sources 2016-11-28 13:57:20 +01:00
Yannick Loriot 537625ad24 Fixing the access controls 2016-11-26 19:02:26 +01:00
Julien Quéré a4d029c180 #22 Add isContrasting method 2016-11-25 17:27:47 +01:00
Julien Quéré f13965af23 Change luminance() to a property 2016-11-23 10:30:41 +01:00
Julien Quéré 7d8b998bbd Add ability to get contrast ratio between 2 colors 2016-11-23 10:23:13 +01:00
Julien Quéré 1733cdf5e8 Remove roundDecimal in DynamicColor+HSL 2016-11-22 22:13:43 +01:00
Julien Quéré 204c979ca2 Remove roundDecimal in DynamicColor+HSB 2016-11-22 21:54:12 +01:00
Julien Quéré 5bf490b287 #23 Add luminance method to Dynamic Color 2016-11-22 21:40:57 +01:00
Yannick Loriot f7dc557536 Updating test cases 2016-09-08 18:38:56 +02:00
Yannick Loriot 1c73cbaf7e Updating test cases 2016-09-08 17:23:44 +02:00
Yannick Loriot f4723d923e Adding the HSB color space 2016-09-08 16:23:00 +02:00
Yannick Loriot 4515f25391 Adding DynamicColorSpace enum 2016-09-08 16:00:13 +02:00
Yannick Loriot e5e70297c4 Add DynamicGradient object #2 2016-09-08 14:51:46 +02:00
Yannick Loriot edffb75775 Use CGFloat instead of Double everywhere 2016-09-08 13:57:05 +02:00
Yannick Loriot a68c4ab958 Updating test cases 2016-09-05 21:54:42 +02:00
Yannick Loriot d62ca58c72 Updating documentation 2016-09-05 21:14:16 +02:00
Alex Pawlowski 35920d158b Fixed build on Xcode 8.4 2016-08-04 16:32:05 +03:00
Yannick Loriot 75ed282049 adding tests 2016-07-16 22:34:43 +02:00
Yannick Loriot c639729446 [ADD] colors method to array 2016-07-15 12:46:06 +02:00
Yannick Loriot f57328a183 Adding test cases 2016-07-15 12:34:00 +02:00
Yannick Loriot ddfa24a9e5 [ADD] from array of color 2016-07-15 11:51:50 +02:00
Yannick Loriot 3f8952238d Hue range is now from 0° and 360° instead of 0.0 and 1.0 2016-07-14 18:26:38 +02:00
Yannick Loriot f6d60246eb [ADD] Initialization with L*a*b* components 2016-07-13 19:24:03 +02:00
Yannick Loriot 02401a494f [ADD] CIE L*a*b* Color Space 2016-07-12 17:04:21 +02:00
Yannick Loriot 0dc795e6f5 fixing tests 2016-07-12 14:07:08 +02:00
Yannick Loriot 6b7d495cee Initialization with XYZ components 2016-07-12 13:12:27 +02:00