---
title: "Get Palette by Name"
---

### Description

Get a palette with a specific name.

### Usage

<pre><code class='language-python'>hclpalettes.get_palette(name)</code></pre>

### Arguments

<dl class="pyp-list param-list">
  <dt style = "white-space: nowrap; font-family: monospace; vertical-align: top">
   <code id="colorspace.palettes.hclpalettes.get_palette:name">name</code><code class="argument-class">str</code>
  </dt>
 <dd>Name of the color palette which should be returned. Not
case sensitive; blanks are ignored (removed).</dd>
</dl>

### Return

Returns an object of class `defaultpalette` if a palette with
the name as specified can be found.  Else an error will be dropped.
