UNPKG

lib-colors

Version:

Simple node.js library for work with colors

14 lines (13 loc) 359 B
import { RGB } from '../rgb/rgb.class'; import type { IGray } from './gray.interface'; export declare class Gray { private color; readonly max: IGray; get g(): number; set g(value: number); get a(): number | undefined; set a(value: number | undefined); constructor(g: number, a?: number); toString(): string; rgb(): RGB; }