Hi, I'm trying to use custom colors (to later move...
# compose-desktop
a
Hi, I'm trying to use custom colors (to later move to custom themes), but it's not working even with a very very basic test :
Copy code
fun main() = singleWindowApplication(
	title = "Artificial Infiltration",
	state = WindowState(width = 1600.dp, height = 900.dp, position = WindowPosition.Aligned(Alignment.Center)),
) {
	MaterialTheme {
		Login()
	}
}

val purple500 = Color(0x5C415A)

@Composable
fun Login() {
	Scaffold (
		backgroundColor = purple500,
	){
		Text("Hello World!", style = TextStyle(fontSize = 96.sp))
	}
}
But I still get a white background, I don't get what am I doing wrong ?
Okay I finally find the error, colors are in ARGB format :c