• Parameters

    • rgb: number[]
    • linear: boolean = true

    Returns number[]