GitHub - rajahafify/UIColorHex: Hex color extension for Swift UIColor

2 min read Original article ↗

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Hex color extension for Swift UIColor

4 stars 0 forks Branches Tags Activity

Notifications You must be signed in to change notification settings

Folders and files

NameName

Last commit message

Last commit date

Latest commit

History

3 Commits

Repository files navigation

UIColorHex

This is an extension for UIColor which allows it to use hex.

Written in swift

Just drop UIColorHex.swift to your project folder and it is ready to use.

Usage:

UIColor(hex: "#ffffff") //white
UIColor(hex: "#000000") //black

Pull request is appreciated.

About

Hex color extension for Swift UIColor

Resources

Readme

Activity

Stars

4 stars

Watchers

1 watching

Forks

0 forks

Releases

No releases published

Packages

No packages published

Languages