IOS 颜色的宏定义时间:2021-03-03 15:24:47#define RGB(r, g, b, a) [UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:a] self.view.backgroundColor = RGB(1,159,239,1);