toComposeColor

Converts a ColorSchema into its Compose Color counterpart — ColorSchema.Hex and ColorSchema.Rgba resolve directly, while ColorSchema.Theme reads the matching role off MaterialTheme.colorScheme, which is why this is @Composable at all (and, in turn, why it always reflects the app's current theme, including a live SetTheme swap).