rainbow / com.skydoves.rainbow / color

color

fun Rainbow.color(@ColorInt color: Int): ContextColor

creates an instance of ContextColor using a color value.