viewed method

int viewed(
  1. ViewingConditions viewingConditions
)

ARGB representation of the color, in defined viewing conditions.

Implementation

int viewed(ViewingConditions viewingConditions) {
  final xyz = xyzInViewingConditions(viewingConditions);
  return ColorUtils.argbFromXyz(xyz[0], xyz[1], xyz[2]);
}