FunctionsCommonColorTrimAlphaCommonColorTrimAlpha CallableCommonColorTrimAlpha(color: `#${string}`): `#${string}`Remove the (potential present) alpha component of the passed color hex code, turning the likes of RRGGBB(AA) into RRGGBB.Parameterscolor: `#${string}`The color hex codeReturns `#${string}`The color hex code with its (potentially present) alpha component removed
Remove the (potential present) alpha component of the passed color hex code, turning the likes of
RRGGBB(AA)intoRRGGBB.