diff --git a/src/java/org/apache/poi/ss/usermodel/ExtendedColor.java b/src/java/org/apache/poi/ss/usermodel/ExtendedColor.java index 414fbc40a..2259bbfc2 100644 --- a/src/java/org/apache/poi/ss/usermodel/ExtendedColor.java +++ b/src/java/org/apache/poi/ss/usermodel/ExtendedColor.java @@ -109,8 +109,9 @@ public abstract class ExtendedColor implements Color { System.arraycopy(rgb, 1, tmp, 0, 3); rgb = tmp; } + double tint = getTint(); for (int i = 0; i < rgb.length; i++){ - rgb[i] = applyTint(rgb[i] & 0xFF, getTint()); + rgb[i] = applyTint(rgb[i] & 0xFF, tint); } } return rgb;