Color
creates a Color
Creates a new Color using the hex representation.
val c = Color(0xff0000)Content copied to clipboard
Parameters
hex
representation of the color
opacity
of the color
creates a Color
Creates a new Color using the hex representation.
val c = Color(0xff0000)representation of the color
of the color