# Examples from pyvista.Color.int_rgb
# ===================================

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

# Create a red color using an integer RGB sequence.
c = pv.Color([255, 0, 0])
c
c.int_rgb

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

