Last Updated: February 25, 2016
· dominickm

RGB on iOS

I always forget this one. You have to divide each value in your RGB's by 255.0f on iOS and you need to makes sure not to forget the .0fs for best results.

Hope that helps someone.

2 Responses
Add your response

Wow Michael way to not help people. Everybody check out my WAY BETTER pro-tip on this subject.

over 1 year ago ·

This works fine for RGB. Your tip is for hex codes.

over 1 year ago ·