MaterialYouCircleSwatch
fun MaterialYouCircleSwatch(primary: Color, secondary: Color, tertiary: Color, selected: Boolean, modifier: Modifier = Modifier, indicatorFraction: Float = 0.58f)(source)
A round preview of a palette: primary across the top half, secondary and tertiary sharing the bottom.
The mosaic is drawn by one cached drawing node (three rectangles clipped to a cached circle) rather than a column and row of colored boxes, so a row of swatches adds one node each instead of eight.
The selection check is drawn in primary on a disc of the same hue, darkened or lightened, whichever stands further from primary. Both come from the swatch rather than the app's theme: the selected swatch shows the palette the app is drawn in, and on dark schemes the theme's onPrimaryContainer sat so close to the swatch's primary that the check disappeared.