Palette icon
A free pencil-style palette icon, drawn by code from 1 arc, 1 curve and 3 circles. Use it as an SVG, a React component, or by name. MIT licensed.
01Use it
Use palette
One package, four ways in. The icon inherits currentColor and is decorative unless you give it a title. Install it with npm i @matita/icons.
React
import { Palette } from '@matita/icons/react';
<Palette size={24} />
// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="palette" />JavaScript
import { Palette, toSvg } from '@matita/icons';
toSvg(Palette, { size: 24 }); // SVG stringSVG
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" overflow="visible" class="sketch-icon sketch-icon-palette" data-sketch="" aria-hidden="true"><path d="M16.09 19.41C15.49 19.57 13.74 20.26 12.54 20.35C11.33 20.44 9.99 20.36 8.86 19.95C7.73 19.53 6.55 18.77 5.75 17.88C4.95 16.98 4.42 15.74 4.05 14.59C3.68 13.43 3.42 12.13 3.54 10.93C3.65 9.74 4.1 8.43 4.74 7.4C5.38 6.36 6.35 5.38 7.38 4.72C8.41 4.06 9.71 3.61 10.92 3.46C12.14 3.31 13.51 3.43 14.66 3.82C15.82 4.2 17 4.92 17.86 5.77C18.71 6.62 19.36 7.8 19.79 8.92C20.22 10.05 20.53 11.35 20.45 12.54C20.38 13.73 19.54 15.47 19.36 16.06" stroke-width="1.76"/><path d="M20.46 14.99Q14.44 13.35 14.81 20.07" stroke-width="1.424"/><path d="M6.87 13.64C6.8 13.59 6.56 13.46 6.44 13.32C6.32 13.18 6.2 12.99 6.15 12.8C6.09 12.61 6.08 12.38 6.11 12.18C6.15 11.98 6.24 11.78 6.34 11.6C6.44 11.42 6.56 11.2 6.72 11.08C6.88 10.96 7.11 10.91 7.32 10.87C7.52 10.83 7.76 10.78 7.97 10.83C8.18 10.88 8.38 11.03 8.56 11.17C8.74 11.32 8.95 11.48 9.07 11.69C9.19 11.9 9.27 12.17 9.29 12.43C9.31 12.68 9.27 12.96 9.19 13.21C9.12 13.46 9 13.72 8.83 13.92C8.67 14.13 8.44 14.31 8.2 14.43C7.97 14.54 7.68 14.61 7.41 14.61C7.14 14.62 6.84 14.56 6.59 14.44C6.35 14.32 6.12 14.11 5.93 13.89C5.74 13.68 5.54 13.26 5.46 13.13" stroke-width="1.552"/><path d="M9.11 8.74C9.02 8.71 8.75 8.67 8.61 8.56C8.47 8.46 8.37 8.28 8.27 8.11C8.18 7.95 8.07 7.75 8.04 7.56C8.01 7.36 8.04 7.13 8.1 6.93C8.16 6.74 8.29 6.56 8.42 6.4C8.55 6.23 8.69 6.04 8.87 5.94C9.05 5.83 9.29 5.76 9.51 5.75C9.72 5.74 9.95 5.8 10.17 5.88C10.38 5.96 10.62 6.06 10.78 6.22C10.95 6.38 11.07 6.62 11.16 6.85C11.26 7.08 11.32 7.33 11.34 7.59C11.35 7.84 11.35 8.14 11.26 8.38C11.17 8.62 10.97 8.84 10.78 9.02C10.59 9.2 10.36 9.37 10.12 9.47C9.88 9.57 9.59 9.64 9.32 9.64C9.05 9.64 8.74 9.6 8.48 9.48C8.23 9.36 7.99 9.14 7.8 8.92C7.6 8.7 7.39 8.27 7.31 8.14" stroke-width="1.584"/><path d="M14.7 8.06C14.61 8.06 14.36 8.12 14.18 8.1C14.01 8.08 13.8 8.04 13.65 7.95C13.5 7.85 13.37 7.69 13.27 7.53C13.16 7.37 13.08 7.19 13.04 7C13 6.81 13 6.6 13.04 6.4C13.07 6.2 13.12 5.98 13.23 5.8C13.35 5.63 13.52 5.47 13.7 5.36C13.89 5.25 14.1 5.18 14.32 5.15C14.53 5.11 14.77 5.09 14.99 5.14C15.2 5.19 15.42 5.3 15.61 5.43C15.8 5.57 16 5.74 16.13 5.94C16.26 6.14 16.35 6.39 16.38 6.63C16.42 6.88 16.41 7.16 16.34 7.4C16.27 7.63 16.12 7.86 15.96 8.06C15.81 8.27 15.62 8.48 15.4 8.61C15.17 8.74 14.9 8.82 14.63 8.86C14.37 8.89 14.07 8.88 13.8 8.81C13.54 8.74 13.18 8.48 13.05 8.42" stroke-width="1.68"/></svg>Pencil variant
import '@matita/icons/pencil.css';
import { Palette } from '@matita/icons/react';
<Palette size={32} pencil />The file is icons/palette.svg in the package (pencil/palette.svg for the pencil variant). Matita 0.2.1.
02How it's drawn
The recipe for palette
Palette is not stored as a drawing. It is a recipe of 1 arc, 1 curve and 3 circles on a 24 by 24 grid, and a small program draws it like a pencil would. The wobble comes from the name, so it always comes out the same.
A 12 12 8.5 70 380;
Q 20 14.9 14.5 13.5 14.9 20;
C 7.5 12.5 1.3;
C 9.5 7.5 1.3;
C 14.5 6.8 1.3
palette as a number: 4109165216
Shapes: L line, P polyline, Z closed shape, R rectangle, C circle, E ellipse, A arc, Q curve, O dot. Separate shapes with ;. Edits stay on this page.
03Takes, sizes, pencil
Same icon, every way
Pass a seed for another take of the same recipe. The wobble is capped, so it still reads at 16 px.
Five seeds of palette. Seed 0 is the default.
True pixel sizes.