public function getAlpha($value = false) { if ($value && isset($this->alpha->{$value})) { return $this->alpha->value; } return $this->alpha; }