function getColorRole() {
        $roles = $this->roles->filter(function ($role) {
            return $role->color;
        });
        
        if($roles->count() === 0) {
            return null;
        }
        
        return $roles->reduce(function ($prev, $role) {
            if($prev === null) {
                return $role;
            }
            
            return ($role->comparePositionTo($prev) > 0 ? $role : $prev);
        });
    }