diff --git a/src/textual/color.py b/src/textual/color.py
index ef159ce698..a71de17de8 100644
--- a/src/textual/color.py
+++ b/src/textual/color.py
@@ -413,10 +413,10 @@ def tint(self, color: Color) -> Color:
"""
r2, g2, b2, a2, ansi2 = color
if ansi2 is not None:
- return color
+ return self
r1, g1, b1, a1, ansi1 = self
if ansi1 is not None:
- return color
+ return self
return Color(
int(r1 + (r2 - r1) * a2),
int(g1 + (g2 - g1) * a2),
diff --git a/tests/snapshot_tests/__snapshots__/test_snapshots/test_background_tint.svg b/tests/snapshot_tests/__snapshots__/test_snapshots/test_background_tint.svg
index 22b4fda3db..e37daad3d7 100644
--- a/tests/snapshot_tests/__snapshots__/test_snapshots/test_background_tint.svg
+++ b/tests/snapshot_tests/__snapshots__/test_snapshots/test_background_tint.svg
@@ -19,134 +19,134 @@
font-weight: 700;
}
- .terminal-2147534319-matrix {
+ .terminal-3859065499-matrix {
font-family: Fira Code, monospace;
font-size: 20px;
line-height: 24.4px;
font-variant-east-asian: full-width;
}
- .terminal-2147534319-title {
+ .terminal-3859065499-title {
font-size: 18px;
font-weight: bold;
font-family: arial;
}
- .terminal-2147534319-r1 { fill: #e2e3e3 }
-.terminal-2147534319-r2 { fill: #c5c8c6 }
-.terminal-2147534319-r3 { fill: #ebebec }
-.terminal-2147534319-r4 { fill: #f3f3f4 }
-.terminal-2147534319-r5 { fill: #fcfcfc }
+ .terminal-3859065499-r1 { fill: #e4e4ee }
+.terminal-3859065499-r2 { fill: #c5c8c6 }
+.terminal-3859065499-r3 { fill: #e4e2ec }
+.terminal-3859065499-r4 { fill: #e4e0ea }
+.terminal-3859065499-r5 { fill: #e4dde8 }
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
- BackgroundTintApp
+ BackgroundTintApp
-
-
-
- 0%
-
-
-
-
-
-33%
-
-
-
-
-
-66%
-
-
-
-
-
-100%
-
-
-
-
+
+
+
+ 0%
+
+
+
+
+
+33%
+
+
+
+
+
+66%
+
+
+
+
+
+100%
+
+
+
+