onevcat / RandomColorSwift

An attractive color generator for Swift. Ported from randomColor.js.
MIT License
633 stars 50 forks source link

How can I make the same colors? #13

Open IKorabel opened 4 years ago

IKorabel commented 4 years ago

Hello. I'm making a colorBlind game. How can I make the same colors in array with one excess (which is lighter than others in array, for example), using your library? Thank you!

onevcat commented 4 years ago

Ummm.. I don't think it is the correct library for your purpose. RandomColorSwift is only providing a very small public interface to produce random colors for visual effects, you cannot control it in that level you described.

For your purpose, maybe just try to tweak colors with the related method.