public function storeByPlugin(\SimpleXMLElement $options) {
		
		// get options
		$children = $options->children();
		
		$this->derived = (bool)$children->derived;
		
		// the needed cast to string for each property
		foreach ($children->palette->children() as $color) {
			$this->palette[] = (string)$color;
		}
		
		return $this->store();
		
	}