ixfx
Preparing search index...
@ixfx/visual
Colour
convertScalar
Function convertScalar
convertScalar
<
T
extends
ColourSpaces
>
(
colour
:
Colourish
,
destination
:
T
,
)
:
T
extends
"oklch"
?
OkLchScalar
:
T
extends
"hsl"
?
HslScalar
:
T
extends
"srgb"
?
RgbScalar
:
never
Type Parameters
T
extends
ColourSpaces
Parameters
colour
:
Colourish
destination
:
T
Returns
T
extends
"oklch"
?
OkLchScalar
:
T
extends
"hsl"
?
HslScalar
:
T
extends
"srgb"
?
RgbScalar
:
never
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ixfx
Loading...