ixfx
Preparing search index...
@ixfx/visual
Colour
OklchSpace
withOpacity
Function withOpacity
withOpacity
<
T
extends
OkLch
>
(
value
:
T
,
fn
:
(
opacityScalar
:
number
,
value
:
T
)
=>
number
,
)
:
T
Scales the opacity value of an input Oklch value
withOpacity
()
Copy
Type Parameters
T
extends
OkLch
Parameters
value
:
T
fn
:
(
opacityScalar
:
number
,
value
:
T
)
=>
number
Returns
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ixfx
Loading...
Scales the opacity value of an input Oklch value