Skip to content

Commit

Permalink
Update UIColor+Expanded.m
Browse files Browse the repository at this point in the history
the alpha value is used as blue
  • Loading branch information
lanbozhang committed Aug 7, 2015
1 parent d735543 commit a8817df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UIColor+Expanded.m
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ - (UInt32)rgbaHex {
return (((int)roundf(r * 255)) << 24)
| (((int)roundf(g * 255)) << 16)
| (((int)roundf(b * 255)) << 8)
| (((int)roundf(b * 255)) );
| (((int)roundf(a * 255)) );
}

#pragma mark Arithmetic operations
Expand Down

0 comments on commit a8817df

Please sign in to comment.