1. enum class Color{
    2. RED,BLACK,BLUE,GREEN,WHITE
    3. }
    4. enum class Color(val rgb: Int) {
    5. RED(0xFF0000),
    6. GREEN(0x00FF00),
    7. BLUE(0x0000FF)
    8. }