> ## Documentation Index
> Fetch the complete documentation index at: https://dev.marginnote.com.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# UIColorClass

> Native class object for .

Native class object for [UIColor](https://dev.marginnote.com.cn/jsb-api/uikit/variables/UIColor.md).

## Methods

### alloc()

```typescript
alloc(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### allocWithZone()

```typescript
allocWithZone(_zone: NativePointer | null): UIColor | null
```

Exported member.

#### Parameters

**\_zone** `NativePointer | null` *required*

#### Returns

`UIColor | null`

### blackColor()

```typescript
blackColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### blendedColor()

```typescript
blendedColor(_foregroundColor: UIColor | null, _backgroundColor: UIColor | null, _percentBlend: number): UIColor | null
```

Exported member.

#### Parameters

**\_foregroundColor** `UIColor | null` *required*

**Type:** `UIColor | null`

**\_backgroundColor** `UIColor | null` *required*

**Type:** `UIColor | null`

**\_percentBlend** `number` *required*

#### Returns

`UIColor | null`

### blueColor()

```typescript
blueColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### brownColor()

```typescript
brownColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### class()

```typescript
class(): NativeClass<NativeObject>
```

Exported member.

#### Returns

`NativeClass<NativeObject>`

### clearColor()

```typescript
clearColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### colorWithCGColor()

```typescript
colorWithCGColor(_cgColor: unknown): UIColor | null
```

Exported member.

#### Parameters

**\_cgColor** `unknown` *required*

#### Returns

`UIColor | null`

### colorWithCIColor()

```typescript
colorWithCIColor(_ciColor: CIColor | null): UIColor | null
```

Exported member.

#### Parameters

**\_ciColor** `CIColor | null` *required*

#### Returns

`UIColor | null`

### colorWithHexString()

```typescript
colorWithHexString(_stringToConvert: string | null): UIColor | null
```

Exported member.

#### Parameters

**\_stringToConvert** `string | null` *required*

#### Returns

`UIColor | null`

### colorWithHueSaturationBrightnessAlpha()

```typescript
colorWithHueSaturationBrightnessAlpha(_hue: number, _saturation: number, _brightness: number, _alpha: number): UIColor | null
```

Exported member.

#### Parameters

**\_hue** `number` *required*

**\_saturation** `number` *required*

**\_brightness** `number` *required*

**\_alpha** `number` *required*

#### Returns

`UIColor | null`

### colorWithPatternImage()

```typescript
colorWithPatternImage(_image: UIImage | null): UIColor | null
```

Exported member.

#### Parameters

**\_image** `UIImage | null` *required*

**Type:** `UIImage | null`

#### Returns

`UIColor | null`

### colorWithRedGreenBlueAlpha()

```typescript
colorWithRedGreenBlueAlpha(_red: number, _green: number, _blue: number, _alpha: number): UIColor | null
```

Exported member.

#### Parameters

**\_red** `number` *required*

**\_green** `number` *required*

**\_blue** `number` *required*

**\_alpha** `number` *required*

#### Returns

`UIColor | null`

### colorWithRGBHex()

```typescript
colorWithRGBHex(_hex: number): UIColor | null
```

Exported member.

#### Parameters

**\_hex** `number` *required*

#### Returns

`UIColor | null`

### colorWithString()

```typescript
colorWithString(_string: string | null): UIColor | null
```

Exported member.

#### Parameters

**\_string** `string | null` *required*

#### Returns

`UIColor | null`

### colorWithWhiteAlpha()

```typescript
colorWithWhiteAlpha(_white: number, _alpha: number): UIColor | null
```

Exported member.

#### Parameters

**\_white** `number` *required*

**\_alpha** `number` *required*

#### Returns

`UIColor | null`

### conformsToProtocol()

```typescript
conformsToProtocol(_protocol: Protocol | null): boolean
```

Exported member.

#### Parameters

**\_protocol** `Protocol | null` *required*

#### Returns

`boolean`

### copyWithZone()

```typescript
copyWithZone(_zone: NativePointer | null): unknown
```

Exported member.

#### Parameters

**\_zone** `NativePointer | null` *required*

#### Returns

`unknown`

### cyanColor()

```typescript
cyanColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### darkGrayColor()

```typescript
darkGrayColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### darkTextColor()

```typescript
darkTextColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### description()

```typescript
description(): string | null
```

Exported member.

#### Returns

`string | null`

### grayColor()

```typescript
grayColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### greenColor()

```typescript
greenColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### groupTableViewBackgroundColor()

```typescript
groupTableViewBackgroundColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### instanceMethodForSelector()

```typescript
instanceMethodForSelector(_aSelector: NativeSelector): IMP
```

Exported member.

#### Parameters

**\_aSelector** `NativeSelector` *required*

#### Returns

`IMP`

### instanceMethodSignatureForSelector()

```typescript
instanceMethodSignatureForSelector(_aSelector: string | null): NSMethodSignature | null
```

Exported member.

#### Parameters

**\_aSelector** `string | null` *required*

#### Returns

`NSMethodSignature | null`

### instancesRespondToSelector()

```typescript
instancesRespondToSelector(_aSelector: string | null): boolean
```

Exported member.

#### Parameters

**\_aSelector** `string | null` *required*

#### Returns

`boolean`

### isSubclassOfClass()

```typescript
isSubclassOfClass(_aClass: NativeClass<NativeObject>): boolean
```

Exported member.

#### Parameters

**\_aClass** `NativeClass\<NativeObject\>` *required*

#### Returns

`boolean`

### lightGrayColor()

```typescript
lightGrayColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### lightTextColor()

```typescript
lightTextColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### load()

```typescript
load(): void
```

Exported member.

### magentaColor()

```typescript
magentaColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### mutableCopyWithZone()

```typescript
mutableCopyWithZone(_zone: NativePointer | null): unknown
```

Exported member.

#### Parameters

**\_zone** `NativePointer | null` *required*

#### Returns

`unknown`

### new()

```typescript
new(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### orangeColor()

```typescript
orangeColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### purpleColor()

```typescript
purpleColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### redColor()

```typescript
redColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### resolveClassMethod()

```typescript
resolveClassMethod(_sel: string | null): boolean
```

Exported member.

#### Parameters

**\_sel** `string | null` *required*

#### Returns

`boolean`

### resolveInstanceMethod()

```typescript
resolveInstanceMethod(_sel: string | null): boolean
```

Exported member.

#### Parameters

**\_sel** `string | null` *required*

#### Returns

`boolean`

### scrollViewTexturedBackgroundColor()

```typescript
scrollViewTexturedBackgroundColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### superclass()

```typescript
superclass(): NativeClass<NativeObject>
```

Exported member.

#### Returns

`NativeClass<NativeObject>`

### underPageBackgroundColor()

```typescript
underPageBackgroundColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### viewFlipsideBackgroundColor()

```typescript
viewFlipsideBackgroundColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### whiteColor()

```typescript
whiteColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`

### yellowColor()

```typescript
yellowColor(): UIColor | null
```

Exported member.

#### Returns

`UIColor | null`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.