MotionScript

@motion-script/core


@motion-script/core / sameEffectColor

Function: sameEffectColor()

sameEffectColor(a, b): boolean

Defined in: attributes/shape/effects/effect-data.ts:70

Do two colour options resolve to the same RGBA? ('red' === '#ff0000'.)

Parameters

a

Color

b

Color

Returns

boolean