UAsset
Motion icon · Free

Color Swatches icon — animated SVG

A free color swatches motion icon that acts out its meaning. The animation is pure CSS inside the SVG, so it works in any website or app without Lottie or JavaScript. 24px grid, 2px stroke, round caps. Free for personal and commercial use.

Open in UAsset

Hover SVG code (plays when hovered)

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="uah-swatches" overflow="visible"><style>.uah-swatches g.uam,.uah-swatches [class^=p]{transform-box:fill-box;transform-origin:center}:is(.uah-swatches:hover,:hover>.uah-swatches,:focus-visible>.uah-swatches) .pa{animation:uaLfanA 0.70s cubic-bezier(.34,1.56,.64,1) 0s 1 both}:is(.uah-swatches:hover,:hover>.uah-swatches,:focus-visible>.uah-swatches) .pb{animation:uaLfanB 0.70s cubic-bezier(.34,1.56,.64,1) 0s 1 both}@keyframes uaLfanA{0%,100%{transform:none}45%{transform:rotate(-14deg)}}@keyframes uaLfanB{0%,100%{transform:none}45%{transform:rotate(-26deg)}}@media (prefers-reduced-motion:reduce){.uah-swatches *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M11 17a4 4 0 0 1-8 0V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2zM7 17h.01"/><g class="pa" style="transform-box:view-box;transform-origin:7px 17px"><path pathLength="1" d="m11 8 2.3-2.3a2.4 2.4 0 0 1 3.4.1L18.9 8a2.4 2.4 0 0 1 .1 3.4L10.6 20"/></g><g class="pb" style="transform-box:view-box;transform-origin:7px 17px"><path pathLength="1" d="M16.7 13H19a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H7"/></g></g></svg>

Looping SVG code

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="ual-swatches" overflow="visible"><style>.ual-swatches g.uam,.ual-swatches [class^=p]{transform-box:fill-box;transform-origin:center}.ual-swatches .pa{animation:uaLfanAL 1.82s cubic-bezier(.34,1.56,.64,1) 0s infinite}.ual-swatches .pb{animation:uaLfanBL 1.82s cubic-bezier(.34,1.56,.64,1) 0s infinite}@keyframes uaLfanAL{0.0%,38.0%{transform:none}17.1%{transform:rotate(-14deg)}}@keyframes uaLfanBL{0.0%,38.0%{transform:none}17.1%{transform:rotate(-26deg)}}@media (prefers-reduced-motion:reduce){.ual-swatches *{animation:none!important}}</style><g class="uam"><path pathLength="1" d="M11 17a4 4 0 0 1-8 0V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2zM7 17h.01"/><g class="pa" style="transform-box:view-box;transform-origin:7px 17px"><path pathLength="1" d="m11 8 2.3-2.3a2.4 2.4 0 0 1 3.4.1L18.9 8a2.4 2.4 0 0 1 .1 3.4L10.6 20"/></g><g class="pb" style="transform-box:view-box;transform-origin:7px 17px"><path pathLength="1" d="M16.7 13H19a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H7"/></g></g></svg>

Static SVG code

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path pathLength="1" d="M11 17a4 4 0 0 1-8 0V5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2zM7 17h.01"/><g class="pa" style="transform-box:view-box;transform-origin:7px 17px"><path pathLength="1" d="m11 8 2.3-2.3a2.4 2.4 0 0 1 3.4.1L18.9 8a2.4 2.4 0 0 1 .1 3.4L10.6 20"/></g><g class="pb" style="transform-box:view-box;transform-origin:7px 17px"><path pathLength="1" d="M16.7 13H19a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2H7"/></g></svg>

Tags: creative, line, outline, stroke, swatches

More Creative motion icons

LayersPaletteBrushPen ToolCropTypeSparklesEraserHighlighterPaint BucketPipetteMagic WandBezier CurveShapesFramePaint RollerSpray CanPencil RulerStickerGridVideo EditBrand MarkPen ToolCrop

Browse categories