The colour variables in the snippet: https://github.com/android/snippets/blame/c7b62c1381058ffab1f72c3ebf35a0344bfbe7de/compose/snippets/src/main/java/com/example/compose/snippets/text/TextSnippets.kt#L586-L588C31 (LightBlue and Purple) should be part of the gradient depicted here: https://developer.android.com/jetpack/compose/text/style-text#use-brush Instead, they're both "LightBlue", same hexvalue.