Preparing search index...
The search index is not available
Color.js API Docs - v0.6.0-alpha.1
Color.js API Docs
index-fn
toGamut
Function toGamut
to
Gamut
(
color
,
options
?
)
:
PlainColorObject
Force coordinates to be in gamut of a certain color space. Mutates the color it is passed.
Parameters
color
:
ColorTypes
Optional
options
:
ToGamutOptions
Returns
PlainColorObject
to
Gamut
(
color
,
space
?
)
:
PlainColorObject
Parameters
color
:
ColorTypes
Optional
space
:
string
Returns
PlainColorObject
Index
Properties
returns
Properties
returns
returns
:
"color"
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
returns
Color.js API Docs - v0.6.0-alpha.1
Loading...
Force coordinates to be in gamut of a certain color space. Mutates the color it is passed.