Skip to content

dozel/Random-Colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

random-colors

Evenly distributed random color generator for Objective-C.

About

This function randomly generates distinct colors with consistent lightness and saturation using the Golden Ratio.

Usage

Import RandomColor.h, and call generateRandomColor, which will return a UIColor.

Example:

UIColor *tempColor = [RandomColor generateRndColor];

Acknowledgements

This code was ported to Objective-C from Martin Ankerl's blog post.

About

Evenly distributed random color generator for Objective-C

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published