ICONYZ
English
Color icon from CodeX Icons

Color icon

codex:color

The Color icon (codex:color) is a free SVG icon from the CodeX Icons set by CodeX. It is drawn on a 24 × 24 grid. CodeX Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
CodeX Icons
Author
CodeX
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="2" d="M5.243 11.408a3 3 0 0 1 .878-2.165l3.536-3.536a1 1 0 0 1 1.414 0l4.95 4.95a1 1 0 0 1 .292.75m-11.07 0a3 3 0 0 0 .878 2.078L8 15.364m-2.757-3.956h6.714m4.356 0a1 1 0 0 1-.292.663l-3.536 3.536a3 3 0 0 1-4.242 0L8 15.364m8.313-3.956h-4.356M8 15.364l3.957-3.956M20 17.462c0 .85-.672 1.538-1.5 1.538s-1.5-.689-1.5-1.538s.9-1.847 1.5-2.462c.6.615 1.5 1.612 1.5 2.462Z"/></svg>

How to use the Color icon

React

import { Icon } from "@iconify/react";

<Icon icon="codex:color" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="codex:color" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="codex:color" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[codex--color]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/codex -->
<div class="i-codex:color"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="codex:color"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/codex/color.svg" alt="Color icon" width="24" height="24">

Color icon in other icon sets

Color icon FAQ

Is the Color icon free for commercial use?

Yes. CodeX Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Color icon in React?

Install @iconify/react and render <Icon icon="codex:color" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Color icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/codex/color.svg" alt="Color icon">, or paste the SVG code inline to style it with CSS.

Browse all CodeX Icons →