/** * @see RGBColor::setFromValue * * @codeCoverageIgnore */ public static function fromValue($rgb, $hasalpha = true) { $color = new self(); return $color->setFromValue($rgb, $hasalpha); }