Home
last modified time | relevance | path

Searched refs:targetColor (Results 1 – 2 of 2) sorted by relevance

/plugin/photogallery/phpThumb/
H A Dphpthumb.filters.php231 $targetColor = (phpthumb_functions::IsHexColor($targetColor) ? $targetColor : 'gray');
238 if ($targetColor == 'gray') {
239 $targetColor = '808080';
253 if ($targetColor != 'gray') {
262 if ($targetColor == 'gray') {
933 public function Sepia(&$gdimg, $amount, $targetColor) { argument
936 $targetColor = (phpthumb_functions::IsHexColor($targetColor) ? $targetColor : 'A28065');
1076 if (phpthumb_functions::IsHexColor($targetColor)) {
1078 'red' => hexdec(substr($targetColor, 0, 2)),
1079 'green' => hexdec(substr($targetColor, 2, 2)),
[all …]
/plugin/combo/ComboStrap/
H A DColorRgb.php734 $targetColor = ColorRgb::createFromString($color);
735 $ratio = $this->getContrastRatio($targetColor);
744 $ratio = $newColorRgb->getContrastRatio($targetColor);