1234567891011121314151617181920212223242526272829303132 |
- //
- // UIColor+ZBColor.h
- // ZBProject
- //
- // Created by 学丽 on 2019/3/26.
- // Copyright © 2019 ZB. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface UIColor (ZBColor)
- + (UIColor*)gradientHeightFromColor:(UIColor*)c1 toColor:(UIColor*)c2 withHeight:(int)height;
- + (UIColor*)gradientWidthFromColor:(UIColor*)c1 toColor:(UIColor*)c2 withWidth:(int)width;
- + (instancetype)changeColor;
- + (instancetype)baseColor;
- + (instancetype)yhGrayColor;
- + (instancetype)backgroudColor;
- + (instancetype)homeRedColor;
- + (instancetype)lineColor;
- + (instancetype)YHColorWithHex:(uint32_t)hex;
- + (instancetype)YHColorWithHex:(uint32_t)hex alpha:(CGFloat)alpha;
- + (instancetype)YHColorWithRed:(uint8_t)red green:(uint8_t)green blue:(uint8_t)blue;
- +(instancetype)fontNineColor;
- +(instancetype)fontsixColor;
- +(instancetype)fontColor;
- @end
- NS_ASSUME_NONNULL_END
|