UNPKG

@aurigma/design-atoms-model

Version:

Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.

15 lines (14 loc) 425 B
import { RgbColor } from "./index"; export declare class HsbColor { H: number; S: number; B: number; A: number; constructor(h?: number, s?: number, b?: number, a?: number); static fromRgb(rgbColor: RgbColor): HsbColor; toRgb(): RgbColor; clone(): HsbColor; getDarken(value: number): HsbColor; getLighten(value: number): HsbColor; getFaded(value: number): HsbColor; }