color($color); $this->photoSensitivity($photoSensitivity); } /** * Sets the theme color. * * @param string $color The target background color. Specify either the name of a color (e.g. black, lightgray), * or an RGB hex value (e.g. f0ebe6). * * @return ThemeQualifier */ public function color($color) { $color = StringUtils::truncatePrefix((string)$color, '#'); $this->value->setSimpleNamedValue('color', ClassUtils::verifyInstance($color, ColorValue::class)); return $this; } /** * Sets the theme photosensitivity. * * @param int $photoSensitivity The sensitivity to photographic elements of an image. A value of 0 treats the whole * image as non-photographic. A value of 200 treats the whole image as photographic, * so no theme change is applied. Range: 0 to 200. Default: 100. * * @return ThemeQualifier */ public function photoSensitivity($photoSensitivity) { $this->value->setSimpleNamedValue('photosensitivity', $photoSensitivity); return $this; } }