Comments (2)
It's good to note that all the color scheme logic is conducted using the input color's HSB values. However I think you're correct in converting all the necessary RGB values over to HSB (i.e. especially for things such as finding the total sum of differences, etc). I've labeled this as an enhancement, and will add this to the to do list. If it yields better results I'll definitely update the project!
Thanks for using Chameleon @Azy-dev!
from chameleon.
Just released Chameleon 1.1.0 where this has been fixed. Chameleon now uses the HSB color space to define all of its flat colors, and it also uses the LAB colorspace to find the distance between the closest flat colors / non-flat colors and to generate flat color schemes.
Check out the Change Log section for more info on all the recent changes.
from chameleon.
Related Issues (20)
- Tableview scrolling is clunky when I am applying the gradient colors to the views in my tableview cell.
- Navigation Bar Hairline won't hide with a searchController in Navigation Bar
- CIEDE2000 algorithm incorrect HOT 2
- Semantic Issue - Enumeration value 'kGCColorSpaceModelXYZ' not handled in switch : UIColor+ Chameleon.m
- NSInvalidArgumentException HOT 4
- Editor placeholder in source file HOT 4
- No support for latest version of swift. HOT 6
- No gradient with tableView editActionsForRowAt
- hidesNavigationBarHairline does not work on iPhone x/xr/xs/max
- Swift 5 supporting folk? HOT 8
- Getting Complementary colors (Analogous etc.) don't return the proper colors. HOT 1
- Function produces expected type 'UIColor'; did you mean to call it with '()'? HOT 13
- Xcode 11.1 issue HOT 10
- [Question] - Color Depth / Pixel Depth
- Am getting an error while using update carthage command
- Library not loaded
- Enumeration value 'kCGColorSpaceModelXYZ' not handled in switch
- Gradient starts giving rare hex values
- Building not working on Xcode 12
- Build fails with message "Function produces expected type 'UIColor()'; did you mean to call it with '()'?" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chameleon.