public function isEmpty() {

        // return true if all properties are null
        return (is_null($this->name) && is_null($this->ANSICode) && is_null($this->XTermCode) && is_null($this->RGB));

    }