fromInt static method

Cam16 fromInt(
  1. int argb
)

Convert argb to CAM16, assuming the color was viewed in default viewing conditions.

Implementation

static Cam16 fromInt(int argb) {
  return fromIntInViewingConditions(argb, ViewingConditions.sRgb);
}