Skip to content

Tego Bot API Documentation v0.2.0


Tego Bot API Documentation / ColorInfo

Interface: ColorInfo ​

Defined in: botjs/src/screenshot.ts:119

Complete color information in multiple formats

Properties ​

rgb ​

rgb: RgbColor

Defined in: botjs/src/screenshot.ts:121

RGB color


rgba ​

rgba: RgbaColor

Defined in: botjs/src/screenshot.ts:123

RGBA color with alpha


hex ​

hex: string

Defined in: botjs/src/screenshot.ts:125

Hex color string (#RRGGBB)


hsl ​

hsl: HslColor

Defined in: botjs/src/screenshot.ts:127

HSL color


position ​

position: Position

Defined in: botjs/src/screenshot.ts:129

Position where color was picked

Released under the MIT License.