math docs
Preparing search index...
color
color
fromSRGB
Function fromSRGB
fromSRGB
(
srgb
:
[
number
,
number
,
number
]
)
:
color
.
Color
Create a new Color from an sRGB gamma-encoded [r, g, b] array with values in [0, 1].
Parameters
srgb
:
[
number
,
number
,
number
]
Returns
color
.
Color
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
math docs
Loading...
Create a new Color from an sRGB gamma-encoded [r, g, b] array with values in [0, 1].