alphaOf function
The alpha of a computed CSS color, 1 when it has none: `rgb(0 0 0 / 0.5)`, `rgba(0, 0, 0, 0.5)`.
import { alphaOf } from '@dioramajs/text/ribbon'function alphaOf(value: string): numberParameters
| Name | Type | Description |
|---|---|---|
value | string |
Defined in packages/text/src/ribbon.ts.