RGB values ​​for crisp color on iphone?

What is RGB and alpha for transparent color? I want to make it programmatic, do not need [UIColor clearColor] ... ??

+3
source share
4 answers

According to Documentation :

"Returns a color object, grayscale and alpha values ​​are 0.0.

+5
source

To represent a transparent color in rgb format, you can use

'rgba(0,0,0,0)'

It just includes an alpha value.

+5
source

Create a color object, grayscale and alpha values ​​are 0.0

UIColor *clearColor = [UIColor colorWithWhite:0.0/255 alpha:0.0];
+1
source

Just use:

[UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:0.0];                
+1
source

All Articles