import numpy as np
# Define the custom dtype for RGBA colors
dtype_rgba = np.dtype([
('R', np.uint8),
('G', np.uint8),
('B', np.uint8),
('A', np.uint8)
])
# Create a Numpy array of RGBA colors using the custom dtype
colors = np.array([(255, 0, 0, 255), (0, 255, 0, 255), (0, 0, 255, 255)], dtype=dtype_rgba)
print(colors)