Skip to content

Rule.io SDK


Rule.io SDK / client/src / BrandStyleColour

Interface: BrandStyleColour

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:52

A colour entry embedded in a BrandStyle.

Properties ​

brandStyleId ​

brandStyleId: number

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:55

ID of the brand style this colour belongs to.


brightness ​

brightness: number

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:60

Perceived brightness of the colour, 0–100.


createdAt ​

createdAt: string

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:61


hex ​

hex: string

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:58

Hex colour value, e.g. '#FF5733'.


id ​

id: number

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:53


type ​

type: BrandStyleColourType

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:56


updatedAt ​

updatedAt: string

Defined in: client/src/resources/brand-styles/brand-styles.types.ts:62