Skip to content
tablericons
Category
design
Styles
Outline
Component
IconColorSwatch

design

Color Swatch icon

Download the Color Swatch icon as free SVG or PNG. Customize its outline stroke. Copy React, Vue or Svelte code.

  • swatches
  • colour
  • palette
  • color-palette
  • theme
  • paint
  • samples
  • shades
  • color
  • swatch
Size
Stroke
Color
Download SVG

Press C to copy SVG, J for JSX, D to download.

Code

Copy it the way you use it

color-swatch.svg
<svg
  xmlns="http://www.w3.org/2000/svg"
  width="24"
  height="24"
  viewBox="0 0 24 24"
  fill="none"
  stroke="currentColor"
  stroke-width="2"
  stroke-linecap="round"
  stroke-linejoin="round"
 
>
  <path d="M19 3h-4a2 2 0 0 0 -2 2v12a4 4 0 0 0 8 0v-12a2 2 0 0 0 -2 -2" />
  <path d="M13 7.35l-2 -2a2 2 0 0 0 -2.828 0l-2.828 2.828a2 2 0 0 0 0 2.828l9 9" />
  <path d="M7.3 13h-2.3a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h12" />
  <path d="M17 17l0 .01" />
</svg>

Use the Color Swatch icon

For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.

React example
import { IconColorSwatch } from '@tabler/icons-react';

<IconColorSwatch size={24} stroke={2} />
Read the React guide
Vue example
import { IconColorSwatch } from '@tabler/icons-vue';

<IconColorSwatch :size="24" :stroke="2" />
Read the Vue guide
Svelte 5 example
import { IconColorSwatch } from '@tabler/icons-svelte-runes';

<IconColorSwatch size={24} stroke={2} />
Read the Svelte guide

Compare variants and alternatives

Related

Related icons

See all 43 design icons