$output = "Create an ImagickPixel with the predefined color 'brown' and output the result of `getColorAsString`. <br/>"; $color = new \ImagickPixel('brown'); $color->setColorValue(\Imagick::COLOR_ALPHA, 64 / 256.0); $output .= $color->getColorAsString(); return $output;