colorToInt function

int colorToInt(
  1. Color color
)

Returns hexadecimal value for a Color.

Implementation

int colorToInt(Color color) {
  return library.ColorToInt(color.ref);
}