operator - method
Subtracts two ColorTriplet objects.
Implementation
ColorTriplet operator -(ColorTriplet other) =>
ColorTriplet(r - other.r, g - other.g, b - other.b);
Subtracts two ColorTriplet objects.
ColorTriplet operator -(ColorTriplet other) =>
ColorTriplet(r - other.r, g - other.g, b - other.b);