public function foregroundColor() { return Horde_Image::brightness($this->backgroundColor()) < 128 ? '#fff' : '#000'; }