Skip to content

Backdrop Hue Rotate

Rotate backdrop hue

Syntax

visual="backdrop-hue-rotate:[degrees]"

Values

ValueCSS OutputDescription
0backdrop-filter: hue-rotate(0deg)No rotation
90backdrop-filter: hue-rotate(90deg)90° rotation
180backdrop-filter: hue-rotate(180deg)180° rotation

Examples

html
<div visual="backdrop-hue-rotate:90">Rotated hue backdrop</div>

Preview

Backdrop Hue Rotate

visual="backdrop-hue-rotate:90" - Rotate colors behind element

90°
180°
View Code
html
<div layout="flex" space="g:medium p:medium" visual="bg:neutral-100 dark:bg:neutral-900 rounded:medium">
  <div space="p:small" visual="bg:primary text:white rounded:small">0°</div>
  <div space="p:small" visual="bg:primary text:white rounded:small">90°</div>
  <div space="p:small" visual="bg:primary text:white rounded:small">180°</div>
</div>

Arbitrary Values

Supports custom values using bracket syntax:

html
<div visual="backdrop:[custom-value]">Custom</div>