Color Spin

Four colored rings arranged in 3D perspective, slowly rotating on the Y axis with mix-blend-mode glow and reflections.

Color Spin

Four translucent colored rings — gold, blue, green, and red — are positioned 90° apart along a 3D Y-axis rotation. The spinner slowly alternates between 0° and 360°, giving each ring its turn facing forward. Inner circles use mix-blend-mode: color-burn to create a luminous glow, and -webkit-box-reflect adds ground reflections beneath each ring. Decorative oversized “c” and “r” letterforms frame the composition on a dark striped background.

Basic Usage

Color Spin

Sizes

Small

Large

Custom Colors

Override the color custom properties to change the palette:

Custom Colors

CSS Custom Properties

PropertyDefaultDescription
--art-color-spin-size770pxOverall width; all proportions scale from this
--art-color-spin-color1#ffd700Gold ring color
--art-color-spin-color2#20a7dbBlue ring color
--art-color-spin-color3#8fce00Green ring color
--art-color-spin-color4#ff0000Red ring color

HTML Structure

<div class="art-color-spin">
  <ul>
    <li style="--i:1"></li>
    <li style="--i:2"></li>
    <li style="--i:3"></li>
    <li style="--i:4"></li>
  </ul>
</div>

The --i custom property on each <li> controls its rotational offset in 3D space: rotateY(calc(var(--i) * -90deg)). This places each ring 90° apart on the Y axis.

API Reference

ClassDescription
art-color-spinRoot element — sets background, perspective, and letter decorations
art-color-spin-smSmall size (--art-color-spin-size: 385px)
art-color-spin-lgLarge size (--art-color-spin-size: 1000px)