
## __init__ {#list}

Initializes a new instance of the [`ColorPalette`](/cad/python-net/aspose.cad/colorpalette) class and IsCompactPalette is false.



```python
def __init__(self, argb_32_entries):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| argb_32_entries | list | The 32-bit ARGB color palette entries. |


## __init__ {#list}

Initializes a new instance of the [`ColorPalette`](/cad/python-net/aspose.cad/colorpalette) class and IsCompactPalette is false.



```python
def __init__(self, entries):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| entries | list | The color palette entries. |


## __init__ {#list-bool}

Initializes a new instance of the [`ColorPalette`](/cad/python-net/aspose.cad/colorpalette) class.



```python
def __init__(self, argb_32_entries, is_compact_palette):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| argb_32_entries | list | The 32-bit ARGB color palette entries. |
| is_compact_palette | bool | Indicating whether compact it palette. |


## __init__ {#list-bool}

Initializes a new instance of the [`ColorPalette`](/cad/python-net/aspose.cad/colorpalette) class.



```python
def __init__(self, entries, is_compact_palette):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| entries | list | The color palette entries. |
| is_compact_palette | bool | Indicating whether compact it palette. |



### See Also
* module [`aspose.cad`](../../)
* class [`ColorPalette`](/cad/python-net/aspose.cad/colorpalette)
