private function setPixel($r, $g, $b, $a = null)
    {
        $a = $a ?? 1;

        return $this->pixel = new \ImagickPixel(
            sprintf('rgba(%d, %d, %d, %.2F)', $r, $g, $b, $a)
        );
    }