Commit Graph

56 Commits

Author SHA1 Message Date
Yannick Loriot 0dfcf55012 Add the toRGBA and toABGR methods #50 2019-09-15 18:06:51 +01:00
Yannick Loriot d15740a175 Updating test cases 2018-12-10 15:13:52 +01:00
Yannick Loriot 6de9d203c2 Updating the exemple project to Swift 4.2 2018-09-18 11:31:56 +02:00
Yannick Loriot 8b3e06c00f Updating the test cases 2018-08-21 12:52:07 +02:00
Yannick Loriot dfc638c08b Fixing tests 2017-11-08 10:20:39 +01:00
Yannick Loriot 8ab08452ae Support the alpha channel #34 2017-04-14 21:44:49 +02:00
Yannick Loriot f830637ddd Fixing the tests 2017-03-09 22:06:39 +01:00
David Hart 4f73d508d5 fix imprecision when outputing hex values 2017-03-09 11:26:16 +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é 5bf490b287 #23 Add luminance method to Dynamic Color 2016-11-22 21:40:57 +01:00
Yannick Loriot 95ae5b278b Updating travis/test configuration 2016-09-23 16:48:09 +02:00
Yannick Loriot f7dc557536 Updating test cases 2016-09-08 18:38:56 +02:00
Yannick Loriot edffb75775 Use CGFloat instead of Double everywhere 2016-09-08 13:57:05 +02:00
Alex Pawlowski 35920d158b Fixed build on Xcode 8.4 2016-08-04 16:32:05 +03: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 0dc795e6f5 fixing tests 2016-07-12 14:07:08 +02:00
Yannick Loriot 27ed125b5b Refactoring project 2016-07-03 20:07:27 +02:00
Yannick Loriot 8f1c7743eb Fixing the API 2016-06-14 15:13:46 +02:00
Yannick Loriot 6ce17b3973 Refactoring API to follow Swift 3 patterns 2016-06-14 13:32:59 +02:00
Yannick Loriot 0bb70d68e5 Preparing for Swift 3 2016-06-14 12:41:25 +02:00
Yannick Loriot 9f19f5c91c [REFACTORING] Move redComponent/greenComponent/blueComponent/alphaComponent methods to properties in order to reflect the OSX API 2015-12-12 16:55:05 +01:00
Yannick Loriot edee2dad62 [ADD] adjustedAlphaColor method 2015-12-12 16:48:27 +01:00
Yannick Loriot 3fbc586583 [UPDATE] Test cases 2015-11-25 22:26:19 +01:00
Yannick Loriot 5530d473a6 [ADD] isLightColor method 2015-11-19 22:02:49 +01:00
Yannick Loriot 7fccfdb302 Improve codecov 2015-11-15 14:21:04 +01:00
Yannick Loriot 98dd6dade8 [FIX] Tests 2015-09-17 18:07:49 +02:00
Yannick Loriot 542a20b1c0 Cleaning project 2015-09-17 16:06:52 +02:00
Yannick Loriot 4149fb52d9 Test code coverage 2015-09-17 15:50:07 +02:00
Yannick Loriot de9cc53929 [UPDATE] Swift 2 compatibility 2015-09-17 12:05:36 +02:00
Yannick Loriot d58f41f233 [FIX] Project framework target sets to 8.0 #4 2015-07-29 11:54:12 +02:00
Yannick Loriot 129630addb [ADD] HSL constructor and components getter 2015-07-26 23:43:13 +02:00
Yannick Loriot f86a985878 [ADD] isEqualToHex metho 2015-07-24 22:25:29 +02:00
Yannick Loriot a692f380f4 [ADD] toHex method 2015-07-24 22:19:56 +02:00
Yannick Loriot c7082da53f [REFACTORING] Use the toRGBAComponents method instead of the UIColor's getRed:green:blue:alpha one 2015-07-22 12:25:40 +02:00
Yannick Loriot fa6acc3963 [UPDATE] Test cases 2015-07-09 23:18:16 +02:00
Yannick Loriot 38fa3d9bc6 [UPDATE] HSL Documentation 2015-07-04 17:29:45 +02:00
Yannick Loriot 5b4a196ef4 [ADD] Carthage support 2015-06-12 21:59:47 +02:00
Yannick Loriot 4c91c0f364 [FIX] Check weight value range 2015-06-10 11:22:38 +02:00
Yannick Loriot 43053c3526 [ADDØ Shade color method 2015-06-06 17:38:49 +02:00
Yannick Loriot 62e2b7b7c3 [ADD] Tint color method 2015-06-06 17:31:04 +02:00
Yannick Loriot 9800488f6f [ADD] Mix color method 2015-06-06 17:10:11 +02:00
Yannick Loriot 039a92a0d9 [ADD] Invert method 2015-06-02 21:56:19 +02:00
Yannick Loriot 2ba6a89c1b [ADD] ComplementColor method 2015-06-02 19:40:43 +02:00
Yannick Loriot 0fab2e72c4 [ADD] Adjust hue method 2015-06-02 16:56:04 +02:00
Yannick Loriot ffea661a7c [ADD] Grayscale method 2015-06-02 16:26:27 +02:00
Yannick Loriot 3b08a4755e [REFACTORING] Create aliases for saturate/desaturate methods 2015-06-02 16:15:23 +02:00