• Extract an AP214 Colour into our RGBA color, using premultiplied alpha.

    Transparency is usually handled via pre-multiplied alpha, and this is what gltf (for example) expects.

    Parameters

    • from: colour_rgb

      The color to extract.

    • alpha: number = 1

      The alpha value to be associated with the colour.

    Returns ColorRGBA

    The created colour.