25 Articles in this category
-
DarkLight
color
25 Articles in this category
-
DarkLight
Alpha
Returns a decimal between 0 and 1 representing the color's alpha component.
Function signature
ALPHA(color: String) => Number
Parameter
Description
Color
Color
Examples
Formula
Return value
A...
Updated on : 18 May 2022
Blue
Returns an integer between 0 and 255 representing the color's blue component.
Function signature
BLUE(color: String) => Number
Parameter
Description
Color
Color
Examples
Formula
Return value
...
Updated on : 18 May 2022
Fade_in
Returns the color with the alpha component increased by a percentage, given as a decimal number between 0 and 1.
Function signature
FADE_IN(color: String, alpha: Number) => String
Parameter
Description
Color
Color
...
Updated on : 18 May 2022
Green
Returns an integer between 0 and 255 representing the color's green component.
Function signature
GREEN(color: String) => Number
Parameter
Description
Color
Color
Examples
Formula
Return value
...
Updated on : 18 May 2022
HUE
Returns an integer between 0 and 360 representing the hue component of the color.
Function signature
HUE(color: String) => Number
Parameter
Description
Color
Color
Examples
Formula
Return value
...
Updated on : 18 May 2022
Lightness
Returns an integer between 0 and 1 representing the hue component of the color.
Function signature
LIGHTNESS(color: String) => Number
Parameter
Description
Color
Color
Examples
Formula
Return value
...
Updated on : 18 May 2022
Red
Returns an integer between 0 and 255 representing the color's red component.
Function signature
RED(color: String) => Number
Parameter
Description
Color
Color
Examples
Formula
Return value
RE...
Updated on : 18 May 2022
Saturation
Returns a decimal between 0 and 1 representing the color's saturation component.
Function signature
SATURATION(color: String) => Number
Parameter
Description
Color
Color
Examples
Formula
Return value
...
Updated on : 18 May 2022
Set_alpha
Returns the given color with the alpha component changed to the given new value.
Function signature
SET_ALPHA(color: String, alpha: Number) => String
Parameter
Description
Color
Color
Alpha
Alpha value
Ex...
Updated on : 18 May 2022
Set_blue
Returns the given color with the blue component changed to the given new value.
Function signature
SET_BLUE(color: String, blue: Number) => String
Parameter
Description
Color
Color
Blue
Blue color
Example...
Updated on : 18 May 2022
Set_green
Returns the given color with the green component changed to the given new value.
Function signature
SET_GREEN(color: String, green: Number) => String
Parameter
Description
Color
Color
Green
Green color
Ex...
Updated on : 18 May 2022
Set_HUE
Returns the given color with the hue component changed to the given new value.
Function signature
SET_HUE(color: String, hue: Number) => String
Parameter
Description
Color
Color
Hue
Hue component (0...360)
...
Updated on : 18 May 2022