Skip to content

RGB

Official

A color in obsidian#RGB format.

Import:

import type { RGB } from 'obsidian';

Signature:

export interface RGB

Properties

PropertyTypeDescription
bnumberBlue integer value between 0 and 255.
gnumberGreen integer value between 0 and 255.
rnumberRed integer value between 0 and 255.

Links to this page: