---
title: "Get Palette Colors"
---

### Description

Returns the colors of the current palette as a list
of hex colors (`str`).

### Usage

<pre><code class='language-python'>palette.colors(*args, **kwargs)</code></pre>

### Arguments

<dl class="pyp-list param-list">
  <dt style = "white-space: nowrap; font-family: monospace; vertical-align: top">
   <code id="colorspace.palettes.palette.colors:*args">*args</code>
  </dt>
 <dd>Ignored.</dd>
  <dt style = "white-space: nowrap; font-family: monospace; vertical-align: top">
   <code id="colorspace.palettes.palette.colors:**kwargs">**kwargs</code>
  </dt>
 <dd>Ignored.</dd>
</dl>

### Return

<code>list</code>: List of all colors of the palette.

### Examples

```{python}
#| echo: true
#| warning: true
#| error: true
from colorspace import palette
pal = palette(["#11C638", "#E2E2E2", "#EF9708"],
              name = "My Custom Palette")
pal.colors()
```



