dkahgld

UIColor+ZBColor.h 879B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // UIColor+ZBColor.h
  3. // ZBProject
  4. //
  5. // Created by 学丽 on 2019/3/26.
  6. // Copyright © 2019 ZB. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface UIColor (ZBColor)
  11. + (UIColor*)gradientHeightFromColor:(UIColor*)c1 toColor:(UIColor*)c2 withHeight:(int)height;
  12. + (UIColor*)gradientWidthFromColor:(UIColor*)c1 toColor:(UIColor*)c2 withWidth:(int)width;
  13. + (instancetype)changeColor;
  14. + (instancetype)baseColor;
  15. + (instancetype)yhGrayColor;
  16. + (instancetype)backgroudColor;
  17. + (instancetype)homeRedColor;
  18. + (instancetype)lineColor;
  19. + (instancetype)YHColorWithHex:(uint32_t)hex;
  20. + (instancetype)YHColorWithHex:(uint32_t)hex alpha:(CGFloat)alpha;
  21. + (instancetype)YHColorWithRed:(uint8_t)red green:(uint8_t)green blue:(uint8_t)blue;
  22. +(instancetype)fontNineColor;
  23. +(instancetype)fontsixColor;
  24. +(instancetype)fontColor;
  25. @end
  26. NS_ASSUME_NONNULL_END