@color.setter
    def color(self, value):
        if self._pixel == ffi.NULL:
            raise ValueError("Pixel has expired")
        array = ffi.new("double[]", [value._red, value._green, value._blue, value._opacity])
        lib.sanpera_pixel_from_doubles(self._pixel, array)
dataset/ETHPy150Open eevee/sanpera/sanpera/pixel_view.py/PixelViewPixel.color/original