Returns hexadecimal value for a Color.
int colorToInt(Color color) { return library.ColorToInt(color.ref); }