Skip to main content
Version: Next

getColorsFromHex

Callable

  • getColorsFromHex(colorHex: string, startColorHex?: string, steps?: number): { color: Uint8ClampedArray; size: number }

  • Parameters

    • colorHex: string
    • startColorHex: string = "#000000"
    • steps: number = 1024

    Returns { color: Uint8ClampedArray; size: number }

    • color: Uint8ClampedArray
    • size: number