distanceG method

int distanceG(
  1. PColorRGB other
)

Implementation

int distanceG(PColorRGB other) => (g - other.g).abs();