lift warm tonal surfaces to the bright gradient tone

This commit is contained in:
austinried
2026-10-04 00:29:56 +00:00
parent 043c6201ba
commit 5e00bf86a8
2 changed files with 12 additions and 5 deletions
@@ -59,6 +59,14 @@ class ArtworkColorsTest {
}
}
@Test
fun warmArtworkLiftsPlayerSurfaceToTheBrightGradientTone() {
val warm = artworkColorsFromSeed(0xFFE6C822.toInt())
val cool = artworkColorsFromSeed(0xFF3A7BD5.toInt())
assertEquals(warm.gradientHigh, playerSurfaceColor(warm))
assertTrue(playerSurfaceColor(cool) != cool.gradientHigh)
}
private fun contrast(
a: Color,
b: Color,