Function setColorInt32Component

  • Sets an 8-bit component to a 32-bit color integer.

    setColorIntComponent(0x12_34_56_78, 2, 0xab);
    // ⮕ 0x12_34_ab_78

    Parameters

    • color: number
    • offset: number
    • value: number

    Returns number