Why cant I define custom colors in Jetpack Compose...
# compose
a
Why cant I define custom colors in Jetpack Compose?
Copy code
Button(
    onClick = { /*TODO*/ },
    colors = ButtonDefaults.buttonColors(backgroundColor = Color(0xF7B500))){
}
Is showing me a Grey button but it should be Yellow/Gold
k
Try 0xFFF7B500 instead
t
Discovered this yesterday myself, caught me off guard as well