jathu / sweetercolor Goto Github PK
View Code? Open in Web Editor NEWA color extension for Swift with Photoshop blending.
Home Page: http://jathu.me/sweetercolor
License: MIT License
A color extension for Swift with Photoshop blending.
Home Page: http://jathu.me/sweetercolor
License: MIT License
Nice swift implementations, only thing I recommend is changing these property/readme typos.
The color from SweeterColor doesn't match the hex color. Here's a screenshot comparing the colors using #EB6E2F
set with XCode's storyboard, Inkscape, and SweeterColor:
NB: The screenshot colors are more vibrant than they actually are due to GitHub's image compression
To reproduce:
UIView
in Storyboard, set its color to #EB6E2FUIView
in code set the background color. eg sweeterColorView.backgroundColor = UIColor(hex: "#EB6E2F")
Instead of using the (ugly) default colors from UIColor, use more vibrant default colors.
Can we import the Hex feature from https://github.com/hyperoslo/Hue to use hex colors with #
.
The current format 0xFBF002
isn't the normal hex format outside of UIKit.
I tried installing this pod but I get the following error in XCode:
SWIFT_VERSION '3.0' is unsupported, supported versions are: 4.0, 4.2, 5.0.
Could you please add support for the newer Swift versions?
Due to rounding errors for the hue increment/decrement, most of the harmony tests fail and equal color tests fail.
This is not really an issue, but thought this would be the place to have a discussion.
Why not build all of this as an extension of UIColor
? It seems like most of the methods you've written start by fetching the color
property and then accessing information from that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.