Anuken/Arc

Defining custom colors for Arc.graphics.Color

Vortetty opened this issue · 1 comments

this may not be the right place to put this because it also relates to mindustry.
Color.java defines basic colors, how would i make a custom one for the rhino js api in mindustry? i end up with errors setting Draw.color(0x00ffffff,0xffffff00,e.fin()); where colors are not how they should be.

new Color(r, g, b, a) where r, g, b, a are values from 0 to 1.