toInt method

int toInt()

ARGB representation of the color. Assumes the color was viewed in default viewing conditions, which are near-identical to the default viewing conditions for sRGB.

Implementation

int toInt() => viewed(ViewingConditions.sRgb);