Skip to content

343max/Hex2UIColor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Hex2UIColor in action

Hex2UIColor Action for LaunchBar 6

Hex2UIColor converts these pesky HTML Hex Color definitions kids seem to love so much these days to good old UIColor definitions.

It will convert a simple #663399 to a nice

[UIColor colorWithRed:0x66 / 255.0 green:0x33 / 255.0 blue:0x99 / 255.0 alpha:1.0]

When holding down the command key while hitting return the result will be pasted directly into the editor of your choice.

There is also a hipster version of this litte action that will convert your hex color into swift code:

UIColor(red:0x66 / 255.0, green:0x33 / 255.0, blue:0x99 / 255.0, alpha:1.0)

Installation

  • If you have not done so already install LaunchBar 6
  • Double click the Hex2UIColor.lbext file
  • Click the "Install" button as often as neccessary

About

LaunchBar 6 actions to convert hex-color-definitions to UIColor definitions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published