driver()->decodeColor($this->drawable()->backgroundColor()); } catch (InvalidArgumentException) { return Color::transparent(); } } /** * Return the border color of the object rendered by the modifier. * * @throws StateException * @throws ColorDecoderException */ protected function borderColor(): ColorInterface { try { return $this->driver()->decodeColor($this->drawable()->borderColor()); } catch (InvalidArgumentException) { return Color::transparent(); } } }