effect-motion
API Referenceeffect-motionNamespacesColorVariables

alpha

const alpha: (amount) => (self) => Color & (self, amount) => Color;

Variable: alpha

const alpha: (amount) => (self) => Color & (self, amount) => Color;

Defined in: packages/motion/src/Color.ts:221

Set a color's opacity (0–1), leaving its channels untouched.

On this page