# Examples from pyvista.Color.int_rgba
# ====================================

# Create a blue color with half opacity.
import pyvista as pv
c = pv.Color('blue', opacity=128)
c
c.int_rgba

# Create a transparent red color using an integer RGBA sequence.
c = pv.Color([255, 0, 0, 64])
c
c.int_rgba

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

