phpThumb Error Font Color ~
A hex value, without the #, indicating a font color for text appearing in phpThumb error output.

@param string $value

@return $this
423800
public function setCorePhpthumbErrorTextcolor($value)
    {
        $this->setFieldName('phpthumb_error_textcolor');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
950538
public function value($value)
    {
        if (is_null($value)) $value = '';
        $this->value = (string)$value;
        return $this;
    }
225584
public function renderDefaultValue($value)
    {
        if ($value === null) {
            return 'null';
        }

        // special numbers which are usually used in octal or hex notation
        static $specials = [
            // file permissions
            '420' => '0644',
            '436' => '0664',
            '438' => '0666',
            '493' => '0755',
            '509' => '0775',
            '511' => '0777',
            // colors used in yii\captcha\CaptchaAction
            '2113696' => '0x2040A0',
            '16777215' => '0xFFFFFF',
        ];
        if (isset($specials[$value])) {
            return $specials[$value];
        }

        return $value;
    }
738121
public function setValue(?string $value) : Setting
    {

        if ($this->data['value'] !== $value) {
            $this->data['value'] = $value;
            $this->setModified('value');
        }

        return $this;
    }
417588
protected function coerceColor($value)
    {
        switch ($value[0]) {
            case 'color': return $value;
            case 'raw_color':
                $c = array('color', 0, 0, 0);
                $colorStr = substr($value[1], 1);
                $num = hexdec($colorStr);
                $width = strlen($colorStr) == 3 ? 16 : 256;

                for ($i = 3; $i > 0; --$i) { // 3 2 1
                    $t = $num % $width;
                    $num /= $width;

                    $c[$i] = $t * (256 / $width) + $t * floor(16 / $width);
                }

                return $c;
            case 'keyword':
                $name = $value[1];
                if (isset(self::$cssColors[$name])) {
                    list($r, $g, $b) = explode(',', self::$cssColors[$name]);

                    return array('color', $r, $g, $b);
                }

                return;
        }
    }
191046
public function addTypeError($value, $type = '') {
        $type = $type ?: $this->getType();

        $this->validation->addError(
            $this->getName(),
            'type',
            [
                'type' => $type,
                'value' => is_scalar($value) ? $value : null,
                'messageCode' => is_scalar($value) ? "{value} is not a valid $type." : "The value is not a valid $type."
            ]
        );

        return $this;
    }
276820
public function asValue($value)
        {
            $endPoint =& $this->_getEndPoint();
            $endPoint['lookupType'] = self::TYPE_VALUE;
            $endPoint['value'] = $value;

            return $this;
        }
1184206
public function setCorePhpthumbErrorFontsize($value)
    {
        $this->setFieldName('phpthumb_error_fontsize');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
1272434
public function asNtext($value)
    {
        if ($value === null) {
            return $this->getNullDisplay();
        }

        return nl2br(Html::encode($value));
    }
603687
public function setColorLightness($value)
    {
        if (!is_array($value) ||
            !array_key_exists(0, $value) ||
            !array_key_exists(1, $value) ||
            !is_numeric($value[0]) ||
            !is_numeric($value[1]) ||
            $value[0] < 0 || $value[0] > 1 ||
            $value[1] < 0 || $value[1] > 1
        ) {
            throw new \InvalidArgumentException(
                "The value passed to setColorLightness was invalid. ".
                "Please check the documentation.");
        }
        
        $this->colorLightness = array((float)$value[0], (float)$value[1]);
        return $this;
    }
449417
public function exnor($value) {


        if($this->value !== null){
            return $this->markErrorIf($value === null);
        }
        if($value !== null){

            return $this->markErrorIf($this->value === null, false);
        }
        return $this;
    }
289457
public function setBackgroundColor($value)
    {
        if ($value instanceof Color) {
            $this->backgroundColor = $value;
        } else {
            $this->backgroundColor = Color::parse($value);
        }
        
        return $this;
    }
302997
protected function validate(&$value)
    {
        if ($this->str($value)->contains(',')) {
            $value = $this->str($value)->replace(',', '.')->val();
        }
        $value = floatval($value);

        if (!$this->isNumber($value)) {
            $this->expected('number', gettype($value));
        }

        parent::validate($value);

        return $this;
    }
323375
public function setCorePhpthumbNohotlinkTextMessage($value)
    {
        $this->setFieldName('phpthumb_nohotlink_text_message');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
816018
public function setCorePhpthumbNooffsitelinkTextMessage($value)
    {
        $this->setFieldName('phpthumb_nooffsitelink_text_message');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
543762
protected function parseIsImplicitAuthEnabled(string $value): Client
    {
        $value === '1' ? $this->enableImplicitGrant() : $this->disableImplicitGrant();

        return $this;
    }
1187723
public function initFromString($value)
    {
        if ($color = $this->rgbaFromString($value)) {
            $this->setPixel($color[0], $color[1], $color[2], $color[3]);
        }
    }