#define RGB(r,g,b) ([UIColor colorWithRed:r/255.0 green:g/255.0 blue:b/255.0 alpha:1])

#define HEXTOCOLOR(hexValue) ([UIColor colorWithRed:((float)((hexValue & 0xFF0000) >> 16))/255.0 green:((float)((hexValue & 0xFF00) >> 8))/255.0 blue:((float)(hexValue & 0xFF))/255.0 alpha:1])

相关文章:

  • 2022-03-06
  • 2021-12-02
  • 2021-10-13
  • 2022-12-23
  • 2022-02-19
  • 2022-12-23
  • 2022-01-17
  • 2021-11-28
猜你喜欢
  • 2022-02-04
  • 2021-12-24
  • 2021-12-21
  • 2022-03-13
  • 2022-02-05
  • 2022-12-23
相关资源
相似解决方案