colors

fun colors(    activeBackgroundColor: Color = MaterialTheme.colors.primary.copy(0.3f),     inactiveBackgroundColor: Color = MaterialTheme.colors.onBackground.copy(0.3f),     activeTextColor: Color = MaterialTheme.colors.onPrimary,     inactiveTextColor: Color = MaterialTheme.colors.onBackground,     inactivePeriodBackground: Color = Color.Transparent,     selectorColor: Color = MaterialTheme.colors.primary,     selectorTextColor: Color = MaterialTheme.colors.onPrimary,     headerTextColor: Color = MaterialTheme.colors.onBackground,     borderColor: Color = MaterialTheme.colors.onBackground): TimePickerColors

Initialises a TimePickerColors object which represents the different colors used by the timepicker composable

Parameters

activeBackgroundColor

background color of selected time unit or period (AM/PM)

inactiveBackgroundColor

background color of inactive items in the dialog including the clock face

activeTextColor

color of text on the activeBackgroundColor

inactiveTextColor

color of text on the inactiveBackgroundColor

inactivePeriodBackground

background color of the inactive period (AM/PM) selector

selectorColor

color of clock hand/selector

selectorTextColor

color of text on selectedColor

headerTextColor

Get color of title text

borderColor

border color of the period (AM/PM) selector