apcaFromArgbs function

double apcaFromArgbs(
  1. int textArgb,
  2. int backgroundArgb
)

Implementation

double apcaFromArgbs(int textArgb, int backgroundArgb) {
  return apcaContrastOfApcaY(
    apcaYFromArgb(textArgb),
    apcaYFromArgb(backgroundArgb),
  );
}