toInt method Null safety

int toInt()

ARGB representation of color, assuming the color was viewed in default viewing conditions.

Implementation

int toInt() {
  return viewed(ViewingConditions.sRgb);
}