getVibrantColor

fun getVibrantColor(defaultColor: Int): Int

Returns the most vibrant color in the palette as an RGB packed int.

Parameters

defaultColor

value to return if the swatch isn't available

See also

.getVibrantSwatch