Color

Creation

1
var color = color({ red: 236, green: 143, blue: 209 })
2
​
3
// OR
4
​
5
var color = color({ red: 236, green: 143, blue: 209, alpha: 120 })
Copied!
Returns a java.awt.Color object

Functions

getRGB

1
color.getRGB()
Copied!
Returns the color as an int instead of the java.awt.Color object
Copy link