manosim / ui-color

Converting HEX & RGB colors to UIColor for both Objective C & Swift.
https://www.uicolor.io/
MIT License
225 stars 39 forks source link

Allow easier reverse engineering #32

Open lucashoeft opened 5 years ago

lucashoeft commented 5 years ago

Sometimes, I only have the UIColor and want to get the hex-value so it would be good to allow input like UIColor(red:0.07, green:0.20, blue:0.34, alpha:1.0).

getaaron commented 5 years ago

Would like this too. Also should take input like #colorLiteral(red: 0.707616508, green: 0.9204675555, blue: 0.7929434776, alpha: 1). CC @manosim

LabLamb commented 4 years ago

Would like this too. Also should take input like #colorLiteral(red: 0.707616508, green: 0.9204675555, blue: 0.7929434776, alpha: 1). CC @manosim

Made a PR catering this too.